mhmda Posted July 23, 2013 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 Quote
estrify Posted July 23, 2013 Posted July 23, 2013 Look at URLParameters demo (data sent with POST method works similar)... Regards, Quote
mhmda Posted July 24, 2013 Author 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 !!!??? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.