Forums » Development »
Added by rajsingh over 9 years ago
Hi All
I am new to this server. I want to use lighttpd server to create a restful service and link my C++ library with it
I want to implement following
- For POST request: accept json request and pass the data to C++ library
- For GET request: I will need to get data from C++ library and send out a JSON response.
What packages/modules should I use and what needs to be configured to enable this on lighttpd?
Can u please provide me any keywords or direction so that I can research more on this
Thanks
Sounds like you should write your program as a CGI, FastCGI, or SCGI program and use one of those protocols to interface with lighttpd.
Docs_ModCGI
Docs_ModFastCGI
Docs_ModSCGI