Querying an IP restricted API with Postman

Tag
Author: Ally
Published:

Summary:

Use a SOCKS proxy to query an IP restricted API with Postman.

Table of Contents

  1. Tunnel/SOCKS proxy
  2. HTTP to SOCKS proxy

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

Tunnel/SOCKS proxy

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

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