I’d post on Stack Overflow, but I know it would get closed…
I need some sort of simple proxy server software that can act as a go-between for an API endpoint, so that I can see all traffic outgoing and incoming.
In other words, let’s say I’m using some Meteor or npm packages to send commands to a SOAP (ugh) API endpoint, at
https://super-tech.net/lame?wsdl. I’m getting errors back but I need to see the exact XML being sent to the API endpoint. So I’d like to instead put in my Meteor code a SOAP call to
http://localhost:9876/lame?wsdl which would dump any incoming requests to the console, and then forward them to
https://super-tech.net. Any responses will get channeled through the proxy.
In other words, a sort of sniffer that will let me see the raw traffic. Does such a thing exist?