Update README.md

This commit is contained in:
Chunting Gu
2019-04-16 14:29:18 +08:00
committed by GitHub
parent e434dc9fc8
commit 062c5cfc0e
+3 -3
View File
@@ -60,9 +60,9 @@ session.Request(webcc::HttpRequestBuilder{}.Get().
Adding additional headers is also easy:
```cpp
r = session.Get("http://httpbin.org/get",
{"key1", "value1", "key2", "value2"},
{"Accept", "application/json"}); // Also a std::vector
session.Get("http://httpbin.org/get",
{"key1", "value1", "key2", "value2"},
{"Accept", "application/json"}); // Also a std::vector
session.Request(webcc::HttpRequestBuilder{}.Get().
Url("http://httpbin.org/get").