You can use a proxy server (often shortened to just “proxy”) in Postman. The proxy settings in Postman can be configured with or without signing into Postman. Follow these steps to enter your proxy settings and configure Postman to work through a proxy:
- In upper the right-hand corner of the Postman app, go to Settings ⚙️.
- Select the Proxy tab.
There are two proxy options you can select based on your setup:
- The default proxy configuration
- Proxy configurations for sending requests
Here’s further information on each of those two options:
The default proxy configuration
Postman uses your system's proxy configurations by default to connect to any online services or to send API requests.
If your system’s proxy server requires any credentials to authenticate, follow these steps:
- Inside the proxy settings and under Default Proxy Configuration, tick the box This proxy requires authentication.
- Enter the Username and Password.
- Hit the Save and restart Postman button.
Proxy configurations for sending requests
There are two ways you can configure your proxy for sending requests: using the system proxy and adding a custom proxy configuration.
Using the system proxy
If your organization requires internet traffic to be routed through a proxy, configure the proxy on your local machine and enable the system proxy option within Postman.
Select the gear icon on the right side of the header toolbar, choose Settings, and select the Proxy tab. Note: Make sure the box Add a custom proxy configuration is unticked.
Adding a custom proxy configuration
Configure a custom proxy configuration to forward your HTTP or HTTPS requests through a proxy server.
- Select the gear icon on the right side of the header toolbar, choose Settings, and select the Proxy tab.
- Tick the box Add a custom proxy configuration.
- Choose the type of proxy server by checking the appropriate check boxes beside Proxy Type. Note: By default, both HTTP and HTTPS are checked. This means that both HTTP and HTTPS requests will go through the proxy server.
- In Proxy Server, enter the host or IP address (without protocol) of the proxy server. Next to the field Proxy Server, is where the port of the proxy server is provided.
- Toggle on Proxy Auth if the proxy requires authentication. Note: Turning this on makes the requests use Basic Authentication method, which requires a username and a password.
- Provide comma-separated hosts in Proxy Bypass for the requests that do not use the proxy settings.
Note: If you are having trouble sending requests, read the help center article: I am having trouble sending requests.