TScHttpWebRequest and GetResponse Exception
Posted: Wed 03 Apr 2019 09:42
I have a problem with TScHttpWebRequest.
When I call GetResponse from a webservices returning status code 403, I get an exception telling me that this code has been return. But I have no way of getting the data send with this status code?
If I call TScHttpWebRequest's ReadBuffer I only get what I did send
Is there anyway to avoid the GetResponse raise an exception, which is not a logical solution in my opion. Or at lease get the data send from the webservice?
When I call GetResponse from a webservices returning status code 403, I get an exception telling me that this code has been return. But I have no way of getting the data send with this status code?
If I call TScHttpWebRequest's ReadBuffer I only get what I did send
Is there anyway to avoid the GetResponse raise an exception, which is not a logical solution in my opion. Or at lease get the data send from the webservice?