how to construct a put request?
ylhStore opened this issue · 2 comments
ylhStore commented
I want to construct a put request, where the body is a string in JSON format. Currently, only the demo of the post request is visible in the document.
sgallou commented
Just call :
request.setOpt<curlpp::options::CustomRequest>("PUT");
request.setOpt<curlpp::options::PostFields>(body);
ylhStore commented
Thx