Intercept http response
posted 11 years ago
I need to create an application that simulates how a browser will interact with an external application. The external application currently renders a HTML page, the user will enter required data and the application sends HTML results back to the browser. My application will do a HTTPUrlConnect and post to the external application. Then when the reponse comes back from the external application, I need to interogate the response to find if it was successfull or not. Any examples/advice on how to interogate the response will be much appreciated.