1
0
mirror of synced 2025-07-22 03:21:50 +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

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