I need a Raspberry Pi - which I am coding in C - to be able to communicate with an HTTP server, similar to how a dynamic web page can use AJAX to interact with its origin server.
How do I do that? Do I call system() with a URL as parameter?
Or it there some other way to do it?