1
0
mirror of synced 2025-04-21 22:25:55 +03:00

Update README

This commit is contained in:
yhirose 2020-08-03 23:37:05 -04:00 committed by GitHub
parent 04002d57bd
commit dfec2de5b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -311,6 +311,13 @@ httplib::Headers headers = {
};
auto res = cli.Get("/hi", headers);
```
or
```c++
cli.set_default_headers({
{ "Accept-Encoding", "gzip, deflate" }
});
auto res = cli.Get("/hi");
```
### POST