How to HTTP POST image to URL?

Dear openFrameworkers,

is there a native way in openFrameworks how to just send an image to some URL via HTTP POST?

The URL for sure plus the port need to be specified.

If possible I would not like to use Poco or something, but if there’s no native way …

Thank you very much!

See the post example in ofxHTTP https://github.com/bakercp/ofxHTTP

Dear @bakercp, thank you very much. I’ll keep that in my mind for the next project.

After trying a lot of ways yesterdayy, I decided for just using ofSystem together with cURL. I think this could be by far the easiest way.