add a first working test with actixweb

This commit is contained in:
Tamo
2023-11-28 14:47:07 +01:00
parent b3098b9d9a
commit 9090e0fe9d
2 changed files with 20 additions and 29 deletions

View File

@ -1275,7 +1275,8 @@ impl IndexScheduler {
let _ = serde_json::to_writer(&mut buffer, &task);
}
let _ = ureq::post(url).send_bytes(&buffer);
println!("Sending request to {url}");
let _ = ureq::post(url).send_bytes(&buffer).unwrap();
}
Ok(())