We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 047565e + a5b33ac commit fdf722bCopy full SHA for fdf722b
docs/index.md
@@ -86,9 +86,9 @@ RestClient::Response r = conn->head("/get")
86
RestClient::Response r = conn->del("/delete")
87
88
// set different content header for POST and PUT
89
-conn->AppendHeader("Content-Type", "text/json")
+conn->AppendHeader("Content-Type", "application/json")
90
RestClient::Response r = conn->post("/post", "{\"foo\": \"bla\"}")
91
-RestClient::Response r = conn->put("/put", "text/json", "{\"foo\": \"bla\"}")
+RestClient::Response r = conn->put("/put", "application/json", "{\"foo\": \"bla\"}")
92
93
// deinit RestClient. After calling this you have to call RestClient::init()
94
// again before you can use it
0 commit comments