hi!
i m writing an api based on fastcgi behind lighttpd ( i will post later how to install lighttpd / ssl / fastcgi for fpc usage ... as the docs in this forum are for apache only)
but now i need an idea how to implement a very simple lazarus app to test the api ... the idea is to send request and display response in simple memo directly to/from the fastcgi daemon on dev machine ( as the real apps runs on a cloud machine behind lighttpd in production mode ) this will greatly reduce the dev/compile/deploy time for the api features.
i readed all the sources in fpweb and similar but didnt find any suitable code the send a httprequest warped in fastcgi protocol and then parse the response ...
any ideas?
p.s - many of you may say that fastcgi is pointless and i must go for reverse proxy but my opinion is that fastcgi i more clean solution because you avoid dealing with headers overriding and its more secure because its harder to connect to the backend directly with a simple browser