Querying an IP restricted API with Postman

Tag
Published:
Author: Ally

Rationale Had an IP to debug, but it is only allowed from server IP addresses.

Unfortunately Postman doesn’t support SOCKS proxy, so have to find something else. No problem.

Start SOCKS proxy

ssh -D 7777 -fCqN -I ~/.ssh/id_rsa my-host

Start HTTP to SOCKS proxy

Install:

npm install -g http-proxy-to-socks

Run the proxy:

hpts -s 127.0.0.1:7777 -p 7788

Set up Postman to use the HTTP proxy.

File → Settings → Proxy → Add a Custom Proxy Configuration

postman

Good luck.


meme

Changing semi-unstructured JSON data in a MySQL backing store to MongoDB
Github Actions: Build code-generated assets, create a release and attach those assets to the release
To bottom
To top
< SM
max-width: 640px