As I'm building an HTTP request, is there any way to prompt the user in the command window for the server/port/path etc.?
Something like:
Something like:
string DummyURI
cout << "Enter protocol and server: " << endl;
cin >> DummyURI
web::uri_builder uribuilder(DummyURI);
auto uri = uribuilder.to_uri();
http_client client(uri);
client.request(methods::GET).then([](http_response response)
{});
Can anyone think of a simple way to do that?