Project

General

Profile

[Solved] How to setup json request and response on lighttpd server

Added by rajsingh almost 3 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


Replies (1)

RE: [Solved] How to setup json request and response on lighttpd server - Added by gstrauss 7 months ago

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

    (1-1/1)