[Lazarus] questioning ARequest: TFPHTTPConnectionRequest :)

Michael Van Canneyt michael at freepascal.org
Mon Feb 27 08:23:24 CET 2023



On Sun, 26 Feb 2023, duilio foschi via lazarus wrote:

> 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.

The property is called Content.

Michael.


More information about the lazarus mailing list