Jump to content

Raw POST data


mhmda

Recommended Posts

I tried that, but the client sends the data as stream, here an example in indy httpserver:

procedure TForm2.IdHTTPServer1CommandGet(AContext: TIdContext;
  ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo);
begin

 memo1.Lines.LoadFromStream(ARequestInfo.PostStream);//works :-)
 memo1.Lines.Add(ARequestInfo.Params.Text);// nothing, empty :-(

end;

So how can I use: ARequestInfo.PostStream using unigui !!!???

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...