mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-21 20:28:30 +00:00
parent
e46cc54d13
commit
6c5d0b2a18
8 changed files with 255 additions and 103 deletions
example
|
@ -25,7 +25,7 @@ int main(void) {
|
|||
|
||||
for (int i = 0; i < 3; i++) {
|
||||
StopWatch sw(to_string(i).c_str());
|
||||
auto res = cli.post("/post", body, "application/octet-stream");
|
||||
auto res = cli.Post("/post", body, "application/octet-stream");
|
||||
assert(res->status == 200);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue