I am working on Embedded Linux and I want Restful web services to run on my Linux Custom Board.
My objective is to send/receive data (in JSON format) to/from web server (httpd server).
Also, I want to create that Restful Web services using C++ language.
Please see below idea about need of Restful Web Services for my Linux Custom Board.
First, I will send HTTP request with JSON format data through httpd server which is running on my linux board.
Then, I want to create one binary or server which implements this Restful Web Services in c++ language which is used to handle HTTP request.
Then, This C++ binary will send response back to httpd server for display purpose over web browser.
Does anyone have idea or example about how to create Restful Web Services using C++ language?
Any help on Restful is welcome.
Does any one has idea about ffead and its functionalities which fulfills my Restful Web Services or not?
For send/receive data in JSON format, try jsoncpp
Probably your best bet is to use FastCGI to create a module to interface with your web server. This should prevent you from having to implement your own HTTP server.