[Lazarus] questioning ARequest: TFPHTTPConnectionRequest :)

duilio foschi octopushole at gmail.com
Mon Feb 27 21:41:23 CET 2023


It belongs to TFPHTTPConnectionRequest's grandfather (ancestor of
ancestor). Silly of me, I had gone back only one generation! :)

Thank you

Peppe

On Mon, Feb 27, 2023 at 8:23 AM Michael Van Canneyt via lazarus
<lazarus at lists.lazarus-ide.org> wrote:
>
>
>
> 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.
> --
> _______________________________________________
> lazarus mailing list
> lazarus at lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus


More information about the lazarus mailing list