@ayruos wrote:
I’m trying to do a HTTP post request from openFrameworks and can’t seem to figure it out.
The info here doesn’t seem to work:
@bakercp’s link is giving an error 404 on GitHub and @moebiussurfing code gives me a bunch of errors, copy pasting them below:
No type named 'DefaultClient' in namespace 'ofx::HTTP' No type named 'BaseResponse' in namespace 'ofx::HTTP'; did you mean 'Response'? No member named 'setPutFile' in 'ofx::HTTP::PostRequest' Use of undeclared identifier 'putRequest'; did you mean 'postRequest'?
I’m being able to generate the JSON file that I need inside oF, save it to disk and now I need to send it as a http post request. I would need to read the http response as well.
Help would be appreciated
Posts: 1
Participants: 1