How do I capture https requests with Postman native app using Windows 10?

Joe Borysko picture Joe Borysko · Dec 28, 2016 · Viewed 25.1k times · Source

I am using the Postman native app on Windows 10 and am struggling with trying to capture https requests. Postman's Documentation for this is for Mac and not Windows.

In particular, I am working on a web application that creates a session cookie upon login that needs to be included in most requests in order to be authorized. When I was using the Chrome App, Postman Interceptor achieved this (see https://stackoverflow.com/a/32436131/3816779).

Here's what I've tried so far:

  1. Turn on the Proxy in Postman with port 5555.
    Postman proxy configuration
  2. Configured windows to send http and https requests through Postman's proxy server (127.0.0.1:5555).
    Windows proxy configuration

This allows http requests to be captured in Postman
Http requests captured in History Tab

But when trying to connect to https sites, I get an error
Error with https connection in Chrome

Here are my Postman settings if that helps.
Postman general settings Postman certificates settings

Update I ended up switching back to the Chrome App, which uses the "Interceptor" instead of a "Proxy Server" to capture traffic.

Answer

ahyong picture ahyong · Apr 28, 2018

Unfortunately, capture https requests with postman native app is impossible in some case according to the official doc: Capturing HTTP requests

Note: for the Postman native apps, request captures over HTTPS will not work if the website has HSTS enabled. Most websites have this check in place.