If you're using APIs to build client-side applications like mobile and desktop apps or websites, you may want to check the HTTP and HTTPS request traffic sent and received in the app. Sometimes you might discover undocumented APIs. You can capture network traffic, including requests, responses, and cookies, using the proxy that's built into Postman.
The Postman desktop app has a built-in proxy that can capture HTTP and HTTPS traffic. Here's how it works:
Similar to the Interceptor extension, the Postman proxy intercepts and captures your requests. It can also capture responses and cookies.
Starting the Postman proxy begins a proxy session, which is a time-bound period of traffic capture. You can pause, restart, and stop a proxy session, then later start another one. Each session is logged in the History tab and displays the total session time, a traffic overview, and all traffic captured. You can also send requests and responses to a collection and save cookies to the Postman cookie jar.
In the steps below, you'll use the Postman proxy to inspect HTTP and HTTPS communication going to and from your computer and phone. To get started, make sure your computer and phone are connected to the same local wireless network.
Follow these steps if you're on macOS (Postman v10.17 or later) or Windows (Postman v10.18 or later). If you're on Linux (all Postman versions), macOS (Postman v10.16 or earlier), or Windows (Postman v10.17 or earlier), go to Capturing HTTP requests instead. To check which version of Postman you're using, select
Settings in the header and select Settings > About.
You can't use the Postman proxy with the Postman web app. Make sure you've installed the Postman desktop app.
The first time you start a proxy session, Postman installs the Postman Proxy CA certificate on your computer. If prompted, enter your computer password to install the certificate. Installing the certificate enables the Postman proxy to capture secure HTTPS traffic sent from browsers and other client apps on your computer.
You can't have more than one proxy or Interceptor session running at the same time.
When you start the proxy session, the Postman proxy begins capturing traffic sent from your computer. After you start a proxy session, you can pause, restart, or stop it. You can also select what traffic you want to capture during the session.
To control an active proxy session, click Proxy active in the footer to display the proxy session tab. (If the proxy session is paused, click
Start Proxy in the footer.) The proxy tab shows the total duration of the session and the size of the data captured.
With the proxy active, open a web browser and navigate to a website, or open an app that communicates with a server. Requests appear in the proxy session tab as they're captured.
From the proxy session tab, you can take the following actions:
Click Pause to temporarily stop capturing traffic, then click Resume when you're ready to begin capturing traffic again. When you're finished capturing traffic, click Stop to end the proxy session.
Click Save responses for requests to save each request's response along with the captured request.
Click Capture cookies if you want to capture cookies along with requests during the proxy session.
You can also capture cookies and sync them to Postman without starting a proxy session. Learn more about syncing cookies.
Click in the column headers to sort the results in ascending or descending order.
Click in the column headers to limit the requests and responses that are captured while the session is active. Postman captures requests that match the selected criteria and ignores requests that don't match. You can change the filters at any time during the session:
In responses with a
content-type
that has images, audio, or video, the content is intercepted but not captured. The information captured is response headers, time taken, and the status code.
While your proxy session is running, the proxy session tab shows captured traffic as you use a browser or apps on a client device. You can view the status, method, URL, type, response size, response time, and timestamp for each captured request including.
You can view and work with the proxy session results while the session is active or paused, or after you stop the session.
When you're finished capturing traffic, click Stop to end the proxy session. To view the proxy session again later, click History in the sidebar, then select the proxy session. You can also click View Past Sessions on the proxy session tab.
The Overview tab shows summary graphs of traffic captured in the proxy session. Use the dropdown menu to group requests by method, domain, content type, or status code. The header also displays the session start time, session size, duration, and source.
To filter the list of requests, click in the column headers. Postman displays requests that match the selected filters and hides requests that don't match.
To save captured requests to a collection, do the following:
You can use the Postman proxy to capture traffic from a client device such as a phone.
Start a new proxy session. Click Start Proxy in the Postman footer, then select Start Proxy Session.
Find the local IP address of the computer running the proxy:
Open the wireless settings of your client device and update the configuration of the network connection to use an HTTP Proxy. For example, in iOS:
Open a web browser or app on the device, then view captured traffic on the proxy session tab in Postman.
To capture secure HTTPS traffic, you need to install the
postman-proxy-ca.crt
certificate on the client device. To learn how to install the certificate on your device, go to Capturing HTTPS traffic.
The broader development community has published some useful tutorials for setting up a proxy server on various operating systems:
Last modified: 2025/08/15