Closed ceyert closed 1 year ago
Hi, yes it should. You will need to use the "low" level send_request method, and create your request manually like in get_before method for example.
When creating this request, you will have access to header (as in Boost.beast).
Regards,
something like that (not tested, but you have the idea)
beauty::request request;
request.method(beast::http::verb::post);
request.set("X-MyHeaderLogin", "login");
request.set("X-MyHeaderPassword", "password");
client.send_request(request, ...)
Hi, Is beauty client supports to request headers? I checked at client.hpp and could not able to find it.