mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 21:07:26 +02:00
typo in the json client comment
This commit is contained in:
committed by
Klemens Morgenstern
parent
b49d4e5d9c
commit
6e1eb76b1d
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user