Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 4 min read

How to Set Up a Proxy in Postman for API Testing (and Check It Actually Works)

Disclosure: I'm Leo Lin, Product Manager at FlashIP (https://www.flaship.com/), a proxy service. A surprising number of "the proxy is broken" messages I see turn out to be Postman settings, not the proxy. Credentials in

Disclosure: I'm Leo Lin, Product Manager at FlashIP (https://www.flaship.com/), a proxy service.

A surprising number of "the proxy is broken" messages I see turn out to be Postman settings, not the proxy. Credentials in the wrong field, a leftover environment variable, or two proxy options switched on at once. This is the setup routine I walk people through. The menu names below come from Postman's own documentation (the current v12 docs, read in November 2026); if your version looks different, check their proxy page.

Why you might want a proxy in Postman

Most API testing doesn't need one. The cases where it helps are usually about location or network:

  • Checking that your own API returns the right currency, language or regional content to a visitor in another country.
  • Reproducing a bug a customer reports from a specific region.
  • Testing a partner API that only accepts calls from an allow-listed IP.
  • Working inside a company network that requires all outbound traffic to go through a proxy.

If none of these apply, leave the proxy off.

Step 1: Know which of Postman's three proxy options you need

Postman's docs describe three separate things, and mixing them up is the most common mistake:

  1. Default proxy. The desktop app uses your operating system's proxy by default. If that system proxy needs a username and password, you add them under "Default proxy configuration". This can't be set in the Postman web app.
  2. Use system proxy. A toggle that sends your API requests through the HTTP or SOCKS proxy configured on your computer.
  3. Use custom proxy configuration. A proxy you enter directly in Postman, separate from your system settings.

For testing through a proxy provider, you almost always want option 3. One rule to remember: if both the system proxy and the custom proxy toggles are on, Postman uses the custom proxy.

Step 2: Enter the custom proxy

In the desktop app, open Settings in the header, choose App settings, then the Proxy tab. Under "Proxy configurations for sending requests", turn on Use custom proxy configuration and fill in:

  • Use proxy for: HTTP, HTTPS or both. Both are selected by default, which is usually what you want.
  • Proxy server: choose the protocol from the dropdown. Postman lists HTTP, SOCKS5, SOCKS5H, SOCKS4 and SOCKS4A. Then enter the hostname or IP and the port. Don't type http:// or socks5:// in front of the hostname; the protocol comes from the dropdown.
  • Proxy auth: turn this on if your proxy uses a username and password, and enter them here, not in the hostname field.
  • Proxy bypass: a comma-separated list of hosts that should skip the proxy. I put localhost and any internal staging hosts here so local requests don't wander out through a proxy in another country.

One note on SOCKS: Postman only sends HTTP and HTTPS requests through a SOCKS proxy, so it is not a general tunnel for other protocols.

If your provider offers IP allowlisting instead of passwords, you can leave Proxy auth off, but the public IP of the machine running Postman must be on the list first.

Step 3: Check that traffic really goes through the proxy

Don't trust the settings screen. Trust a request:

  1. With the proxy off, send a GET request to any public "what is my IP" endpoint and note the IP and country.
  2. Turn the custom proxy on and send the same request. The IP should change, and the location should match what you asked the provider for.
  3. Now send one real request to the API you're testing and compare the response with the no-proxy version: currency, language, headers, status code.

I keep these three requests in a small Postman collection called "proxy sanity check" so I can rerun them whenever something feels off.

Troubleshooting: the usual suspects

  • Settings seem ignored. Check for HTTP_PROXY, HTTPS_PROXY, http_proxy or https_proxy environment variables. Postman's docs note that when these are set, it can use them and ignore the in-app proxy settings. Leftovers from another tool are a classic cause.
  • 407 Proxy Authentication Required. The proxy rejected your credentials. Retype them in the Proxy auth fields, check for stray spaces, and confirm your plan still has traffic or time left.
  • Local requests break. Add the host to Proxy bypass.
  • Wrong country. Check the IP with more than one geolocation lookup; databases disagree more often than people expect.

A note on responsible use

A proxy in Postman is a testing tool. Use it on your own APIs, on APIs you have permission to call, and within each service's terms and local law. If an API rate-limits you, slow down rather than spreading requests across IPs.

If you're choosing a provider for this kind of testing, the practical checklist is short: HTTP(S) or SOCKS5 support, the authentication method you need, and the locations you actually test. FlashIP supports HTTP(S) and SOCKS5 with username:password or IP allowlist authentication; whichever provider you pick, run the three-request check above before you rely on it.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.