Display Response from http request on error - SOLVED

I have the following function as part of a web server.

when the api on the other end responds 404 it returns XML but this displays file not found.

This is the web server part.

How can i get it to display the XML from the api server?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.