Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

HTTP Post Request with a JSON file

$
0
0

@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 :slight_smile:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles