A proxy server acts as a security barrier between your internal network and the Internet, keeping others on the Internet from accessing information on your internal network.
In basic web speak, a client makes a request to the server, and the server sends back a response.
A proxy server is an application or system that acts as an intermediary between your computer and the internet, or more specifically, the client and server. The proxy makes requests on your behalf to websites, servers, and other internet services.
The proxy can reside on your local machine, somewhere in your network, or at any point between your client and the destination server on the internet.
Similar to the way parents might speak to each other through a child, the child is a proxy relaying all communications between the 2 parents.
Parent 1: Ask your father if he can pick you up after school.
Timmy: Can you pick me up after school.
Parent 2: Yeah.
Timmy: Dad says yeah.
In this analogy, the child forwards the information on behalf of each parent. Besides just relaying information, proxies can do much more.
A proxy acts like a go-between to perform various functions. Postman has a built-in web proxy to capture API requests, the Postman Interceptor to intercept network traffic, and proxy settings to direct API requests.
This article describes how to configure the proxy settings in Postman to direct all requests made in the Postman app to route through a proxy server. This is different from capturing network traffic with the built-in proxy which allows Postman to intercept network traffic.
Postman’s native apps for Mac, Windows, and Linux support configuring proxies. You can either specify to use a custom proxy or to use the system proxy defined in the operating system.
Use the system proxy if all of your applications need to use the same proxy. Use the custom proxy if you want to direct the requests from Postman go through a custom proxy server.
To configure the proxy settings, click the wrench icon on the right side of the header toolbar, choose “Settings”, and select the Proxy tab.
Postman allows you to configure custom proxy settings that direct Postman to forward your HTTP or HTTPS requests through a proxy server. In other words, this will route all requests sent via the Postman app through a proxy server of your choosing.
Custom proxy settings are disabled by default and can be turned on using the toggle switch.
Choose the type of proxy server by checking the appropriate checkboxes. By default, both HTTP
and HTTPS
are checked. This means that both HTTP and HTTPS requests will go through the proxy server.
In the first field under Proxy Server, enter the host or IP address (without protocol) of the proxy server. In the second field under Proxy Server, enter the port of the proxy server.
If all of your applications need to use the same proxy, you might have a default proxy configured at the Operating System level. Use the system proxy settings to forward your HTTP or HTTPS requests in Postman through your OS’s default configuration. In other words, you are telling the Postman app and all requests sent using Postman to follow your OS’s default configuration.
System proxy settings are enabled by default. Any request made through Postman will go through the system proxy.
You can turn this setting on and off using the toggle switch. When turned off, all the requests are made directly. However, regardless of the proxy setting in the app, Postman will still use the system proxy if there is an environment variable set.
NOTE: If the System Proxy and the Custom Proxy are both turned on, then the Custom Proxy will take precedence.