Hi All -
Once again, please excuse my Linux naivté but ... I want to send a hearbeat to my RESTful web service on my laptop from my various Edison bots.
I'd prefer to do this from C++ in Eclipse (as opposed to the Arduino IDE or the XDK) -- for personal reasons. (I'm doing a demo and want to demo the different ways of programming the Edison.)
So, in Linux on the Edison, which library or libraries and calls should I be looking at to send an HTTP POST or GET? (Something like http://MyServer/MyService/Heartbeat)
As you can see, I don't even want to get a response. Just want to send an HTTP msg.
- Dave F.
Have you tried using libcurl library? You can find a similar question to yours here httprequest - How do you make a HTTP request with C++? - Stack Overflow .
You can see more information here libcurl-tutorial(3) - Linux man page
Retrieving data ...