I need to send a simple HTTP POST request from my 52259-based MQX device to a web server.
Could anyone point me to an example? I can see lots of web servers, but no HTTP GET or POST client examples.
Thanks a lot
Web_HVAC uses post method to send data to web server. Check out \demo\web_hvac\web pages\hvac_input.html. The corresponding cgi routin is "cgi_hvac_output" in cgi_hvac.c.
I took web_hvac as example. Hope it helps.
I wasn't clear enough with my question, sorry.
I want to send an HTTP POST request from my device to a web server somewhere on the internet... so I can post information gathered by my device to a central server somewhere.
I wrote my own in the end.
I recommend it as a kind of Zen meditation exercise to others.
Retrieving data ...