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
Joe
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.
Regards,
Marco
Hi Marco
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.
Thanks
Joe