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

delphi package - automated exception handling
Post Reply
Luwo
Posts: 1
Joined: Fri Mar 06, 2020 11:44 am

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

Post by Luwo »

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!
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

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

Post by madshi »

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?
Post Reply