On Mon, Mar 23, 2020 at 8:05 AM Bill Moo via Boost-users
<[email protected]> wrote:
> Is there a working example anywhere of how I can capture
> and save a file uploaded to the server by a user please.
I don't think there's an example, but it is as easy as:
http::request<http::string_body> req;
http::read( sock, buf, req );
When the read returns, `res.body()` will hold the contents of the uploaded file.
Thanks
_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users