typo in the json client comment

This commit is contained in:
Greg Glover
2022-11-29 21:12:27 -06:00
committed by Klemens Morgenstern
parent b49d4e5d9c
commit 6e1eb76b1d

View File

@ -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<json_body> 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;
}
}