Closed dappelt closed 6 years ago
Couldn't you just set the uri
to point to your proxy instead?
No, uri
needs to point at the connector. An HTTP proxy just forwards requests/responses.
To give a bit more background, the reason I bring this up is that there are security testing tools that act as an HTTP proxy (e.g. Burp Suite). Routing all HTTP traffic through such a tool makes it easy to analyze and manipulate HTTP requests/responses.
I added some code for using an HTTP proxy, thought you might want to include something similar. Makes it easier to see (and mess) with the HTTP requests sent on the wire.
In http.js