mhmda Posted July 23, 2013 Share Posted July 23, 2013 Hi all, How can I get the raw post data (it's coming from other app that calls my unigui web app). php example: http://php.net/manual/en/reserved.variables.httprawpostdata.php Link to comment Share on other sites More sharing options...
estrify Posted July 23, 2013 Share Posted July 23, 2013 Look at URLParameters demo (data sent with POST method works similar)... Regards, Link to comment Share on other sites More sharing options...
mhmda Posted July 24, 2013 Author Share Posted July 24, 2013 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 More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now