diff --git a/example/http/client/body/json_client.cpp b/example/http/client/body/json_client.cpp index 49cc634e..4cae9f85 100644 --- a/example/http/client/body/json_client.cpp +++ b/example/http/client/body/json_client.cpp @@ -30,7 +30,7 @@ int main(int argc, char ** argv) // Make the connection on the IP address we get from a lookup stream.connect(results); - // Set up an HTTP GET request message + // Set up an HTTP POST request message http::request req{http::verb::post, target, 11}; req.set(http::field::host, host); req.set(http::field::user_agent, BOOST_BEAST_VERSION_STRING); @@ -58,4 +58,4 @@ int main(int argc, char ** argv) return 0; -} \ No newline at end of file +}