Hi
Building a basic lightweight server that handles Server Side Events (using HTTP
GET is working) and JSON request/response using POST’d data request and
formatting a JSON response.
Provided the following is used (unsure why), JSON data appears in the response
callback function parameters,
Hi Leonard,
I suspect you're queuing the response at a time where MHD disallows it,
and then don't check the return value so you don't see the error message.
Anyway, if you want to study POST processing of JSON with MHD, we have a
big implementation doing just that in the Taler codebase at
https