Open chenzx opened 7 years ago
The testing scene is:
I have a embeded device, and i can not set global http proxy on it, and i run a webapp on it, which sends AJAX requests and gets JSON response.
I need to capture the real request-response flows between the embedded box and the remote web server. To do this, i need to modify all the url string in JSON from orginal "http://outsideserver/..." to "http://MITM-proxy-server/http://outsideserver/...“
That is to say, i need a MITM interceptor proxy, can i do this on the code base of http-proxy?
+1
The testing scene is:
I have a embeded device, and i can not set global http proxy on it, and i run a webapp on it, which sends AJAX requests and gets JSON response.
I need to capture the real request-response flows between the embedded box and the remote web server. To do this, i need to modify all the url string in JSON from orginal "http://outsideserver/..." to "http://MITM-proxy-server/http://outsideserver/...“
That is to say, i need a MITM interceptor proxy, can i do this on the code base of http-proxy?