UploadViaHttp - how to get the server-http(s)-response?

delphi package - automated exception handling

UploadViaHttp - how to get the server-http(s)-response?

Postby Luwo » Fri Mar 06, 2020 12:59 pm

Hello,

I have a webscript that receives the bugreport, this solution works like a charm... :wink:

...my question: is there any possibility to see what the webserver responded as "http message body" ?

thanks for your help!
Luwo
 
Posts: 1
Joined: Fri Mar 06, 2020 11:44 am

Re: UploadViaHttp - how to get the server-http(s)-response?

Postby madshi » Mon Mar 09, 2020 2:04 pm

madExcept exports this variable:

Code: Select all
var
  LastHttpPostReply          : AnsiString    = '';     // last reply from the server when doing an HTTP post

Does that do what you need?
madshi
Site Admin
 
Posts: 10232
Joined: Sun Mar 21, 2004 5:25 pm


Return to madExcept

Who is online

Users browsing this forum: No registered users and 13 guests