feat: add model

This commit is contained in:
Sandro Eiler 2023-10-05 14:33:12 +02:00
parent c5f6a24b3a
commit 42a75ba800
6 changed files with 117 additions and 1 deletions

View file

@ -26,6 +26,16 @@ async fn test_quick_dev() -> Result<()> {
)
);
req_login.await?.print().await?;
let req_login = hc.do_post(
"/api/login",
json!(
{
"username": "demo1",
"password": "demowrong"
}
)
);
req_login.await?.print().await?;
hc.do_get("/hello2/mike").await?.print().await?;