my simple BE server uses this function to handle all inbound calls:

procedure TTestHTTPServer.HandleRequest(
   var ARequest: TFPHTTPConnectionRequest;
   var AResponse: TFPHTTPConnectionResponse
);

When the call is a POST, I want to read the json payload inside ARequest.

I expected to find a property like Body:string inside
TFPHTTPConnectionRequest, but I could not find it.

How do I get the the json payload which is inside ARequest?

Thank you

Peppe
-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to