Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interceptor missing from native apps #1667

Open
jscheel opened this issue Jan 15, 2016 · 181 comments

Comments

@jscheel
Copy link

commented Jan 15, 2016

In the native app, I do not have the option to use interceptor.
screen shot 2016-01-15 at 2 51 45 pm

It works properly with the chrome app.

@abhijitkane

This comment has been minimized.

Copy link
Member

commented Jan 15, 2016

The Interceptor was meant to:

  1. Capture requests (Which you can now do through the built-in proxy) and
  2. Send cookies from Postman, which you can do by adding a 'Cookie' header in your request, or using the Manage Cookies option from the Environments menu.

There's no relation to Chrome in the native app.

@jscheel

This comment has been minimized.

Copy link
Author

commented Jan 15, 2016

Hmm, ok. The tooltip still says Interceptor/Proxy, so it might be good to remove that to clear it up. I'll play with the proxy. Thanks!

screen shot 2016-01-15 at 2 58 13 pm

@abhijitkane

This comment has been minimized.

Copy link
Member

commented Jan 15, 2016

Ah..right. Thanks for pointing this out. Will fix in the next release.

@BrandonCopley

This comment has been minimized.

Copy link

commented Dec 14, 2016

How can we intercept cookies in postman? I can't test my scripts without a 2 factor login process I normally do in Chrome. What's the best approach to this?

@futurechan

This comment has been minimized.

Copy link

commented May 10, 2017

I was using the interceptor to login to a website, capture the cookie and csrf info, modify the request, and send it in postman. How can I do this with the native app?

@ek-akqa

This comment has been minimized.

Copy link

commented Sep 25, 2017

I also could not find a way to prevent the redirects in the native app. In chrome I used the interceptor for that purpose

@mliq

This comment has been minimized.

Copy link

commented Nov 13, 2017

Since you now are hoping for us to move away from the Chrome app, you should really provide better documentation on how to migrate our workflows to the native app. Interceptor plugin was very easy, proxy not as much (I have spent 10 minutes and have not got it working, fortunately I can just stick with Chrome Postman for now).

Currently your docs show a use case of capturing iphone requests, and a link to an outdated and unmaintained Apple support page which also is not particularly helpful.

My use case is to capture my chrome activity in Postman on the same Mac, and I use it very frequently.

@nathankopp

This comment has been minimized.

Copy link

commented Nov 17, 2017

I rely on the interceptor for authentication. Compared to simply logging in via the browser and then POSTing messages, the need to manually copy/paste session cookies between Chrome and the Postman app every time I want to test the API of a real server sounds horrible!

@mliq

This comment has been minimized.

Copy link

commented Nov 17, 2017

@nathankopp it does now exist on native app but it is not clear how to set it up: see and upvote issue #3793

@Sraw

This comment has been minimized.

Copy link

commented Nov 20, 2017

Native app is useless without the ability of using chrome's app. I cannot believe this is such a thing your team highly recommends.

@eiselems

This comment has been minimized.

Copy link

commented Nov 29, 2017

From the docs:

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.

This is the thing that bugs me the most.
It was the easiest thing on earth to browse the PROD webapp and then after that have a request inside Postman Chrome App having all the right headers and cookies set.

Now that is not possible anymore since nowadays every properly staged app should have HTTPS and prevent you from basically MITM the requests.

Think I will stay with the chrome version as long as I can - just keep that in mind for future improvements.

Re-reading it ... this is just complaining about first world problems. Love your Product very much and use it daily. Keep up the good work :)

@a85

This comment has been minimized.

Copy link
Contributor

commented Dec 5, 2017

Can't give a definite date just yet but yes, Interceptor will work with the desktop apps soon!

@a85 a85 reopened this Dec 5, 2017

@futurechan

This comment has been minimized.

Copy link

commented Dec 5, 2017

This is seriously awesome!

@anshchauhan

This comment has been minimized.

Copy link

commented Dec 12, 2017

The native app is useless without this feature. This was the only feature I used postman for. I used swagger for sending requests.

@a85 a85 added feature and removed bug labels Dec 20, 2017

@wenjiezhang2013

This comment has been minimized.

Copy link

commented May 22, 2018

Any updates?

@a85 a85 self-assigned this Jun 29, 2018

@NominationP

This comment has been minimized.

Copy link

commented Aug 16, 2018

Any updates?

@kdschaffe

This comment has been minimized.

Copy link

commented Aug 19, 2018

Does this mean it works with the new app? This is right next to the native app download links..

image

@numaanashraf numaanashraf changed the title Interceptor missing from native osx app Interceptor missing from native apps Sep 18, 2018

@valeriabarros

This comment has been minimized.

Copy link

commented Oct 13, 2018

Looking forward for this feature!

@jc-vogel

This comment has been minimized.

Copy link

commented Oct 24, 2018

when will the interceptor be implemented? The chrome extension is still available, but the app only gives the opportunity to use the proxy.

@needModify

This comment has been minimized.

Copy link

commented Apr 14, 2019

I need a desktop interceptor, otherwise this new postman won't work for me.

@prumand

This comment has been minimized.

Copy link

commented Apr 14, 2019

A possible solution could be allowing (minimal) browsing via postman. You can login and get the session info as needed. Maybe since it's an electron app, that would be easy to implement.
At least it would suit my workflow.

@Infinitay

This comment has been minimized.

Copy link

commented Apr 21, 2019

Any update from the dev team on supporting https with the native app's interceptor?

@shirshak55

This comment has been minimized.

Copy link

commented Apr 23, 2019

3 years passed :) By the way do proxy work for https i find it hard may be due to certificate issue?

@ehausen

This comment has been minimized.

Copy link

commented Apr 23, 2019

I moved to using Insomnia and copying the request as curl in chrome desktop tab. Insomnia then supports copy pasting the curl command and everything pops in place automatically. Works quite well.

Maybe postman could support import options from different browsers fluently..

@MMRandy

This comment has been minimized.

Copy link

commented Apr 23, 2019

@shirshak55 Charles and others handle this issue very well.

@ommyjay

This comment has been minimized.

Copy link

commented Apr 24, 2019

Please implement this asap

+1

@Benibur

This comment has been minimized.

Copy link

commented Apr 28, 2019

There is an easy way for Postman's team to implement this feature : instead of capturing the requests of an external browser, Postman could have an "internal browser" (thank you Electron :-) )

It would then be easy for the user to navigate in his website and for Postman to catch all the requests in the History of current workspace...

For me it would be the perfect solution.
And yes, this feature is important and greatly helps to save time !

@fanreson

This comment has been minimized.

Copy link

commented Apr 29, 2019

Interceptor feature is great, just make it available in Postman Desktop Apps. You know that is the right thing!!!

@wessenstam

This comment has been minimized.

Copy link

commented Apr 30, 2019

Couldn't agree more with @fanreson. Reason I use it is simple due to an app that throws a lot off API calls and the 10 in the buffer is jjst to low. Having it "forwarded" to postman for deeper analyses makes life easier. Using the proxy is not working for now as the app uses certificates that are not easy to export/import...

@zhuyijian135757

This comment has been minimized.

Copy link

commented May 3, 2019

Interceptor feature is great, just make it available in Postman Desktop Apps. You know that is the right thing!!!

@abhijitkane

This comment has been minimized.

Copy link
Member

commented May 9, 2019

Everyone - we’re finally ready to launch a beta for the Interceptor integration for the native Postman apps!

The Interceptor is a very useful part of the Postman workflow - making API calls in the context of the browser’s session is a common use case. Any use-case which requires you to login to the browser (effectively setting a cookie) and performing API calls from Postman was cumbersome at best. This is the first problem we’ve tried to address.

Details on getting started can be found at https://community.getpostman.com/t/interceptor-integration-for-postman-native-apps/5290.

This iteration exposes a command-line based API, and we’re iterating fast to ensure production-readiness. Most session/auth flows should be addressed with this - looking forward to feedback here!

@eness

This comment has been minimized.

Copy link

commented May 16, 2019

glad to hear this feature is being integrated to desktop apps! would love to see it soon!

@MMRandy

This comment has been minimized.

Copy link

commented May 19, 2019

Great to see this landing in the product, thanks for listening :) . Question though, after following the instructions above, still not seeing requests captured from the browser in the desktop app history tab. They appear fine in the interceptor and if I proxy a device to the desktop app. Will the desktop app have the ability to capture browser requests? And if so, what proxy needs to be enabled to get this working...the system proxy or the global proxy? A bit confused...thanks.

@SHT

This comment has been minimized.

Copy link

commented May 21, 2019

Electron is basically a browser, so if you could provide an actual browser pane so that we can do our authentication workflow and keep the cookies, that'd be great! Plus, no need for a chrome extention if it's implemented that way. Just some ideas, not sure if actually feasible.

@shirshak55

This comment has been minimized.

Copy link

commented May 21, 2019

@SHT no it may work for ur use case only. Sometime we like to test on real browser because we check for user-agent, distil bot checker etc.

@SHT

This comment has been minimized.

Copy link

commented May 21, 2019

@shirshak55 agreed, other chrome extensions might influence testing as well. Anyhow, looking forward to the feature coming on stable native Postman.

@artemkaint

This comment has been minimized.

Copy link

commented May 29, 2019

+1

@ziyiang

This comment has been minimized.

Copy link

commented May 31, 2019

needed! ++++1

@abhijitkane

This comment has been minimized.

Copy link
Member

commented May 31, 2019

@artemkaint @ziyiang Have you tried the interceptor integration with the canary app? This supports syncing cookies (which should let you use authenticated sessions from your browser), but not the history capture feature.

@fanreson

This comment has been minimized.

Copy link

commented Jun 4, 2019

@abhijitkane

This comment has been minimized.

Copy link
Member

commented Jun 4, 2019

@fanreson This integration does not currently support request syncing. Only cookies for the selected domains are synced between the browser and Postman.

@MMRandy

This comment has been minimized.

Copy link

commented Jun 4, 2019

Capturing request and responses for the purpose of documenting an API is THE main reason for this feature. Cookie syncing, while nice, doesn't do much for APIs that use oauth tokens in headers etc for API access. When PM first said they were bringing the Chrome Extension to the desktop, I was very excited and informed my team we would wait to document our growing API for the PM Desktop App interceptor. But after many many months, I am very disappointed at the speed of delivery for this obviously highly sought after feature and the lack of qualified responses on features and timing for this capability. Approaching the end of the rope for waiting on this.

@a85

This comment has been minimized.

Copy link
Contributor

commented Jun 18, 2019

@MMRandy Have you tried using the Postman Proxy feature to capture requests: https://learning.getpostman.com/docs/postman/sending_api_requests/capturing_http_requests/

@kumarrajudt

This comment has been minimized.

Copy link

commented Jul 4, 2019

I need it +1

@chaoyangya

This comment has been minimized.

Copy link

commented Jul 30, 2019

请尽快实现

@helloworldwen

This comment has been minimized.

Copy link

commented Aug 13, 2019

++++++++1

@mengdodo

This comment has been minimized.

Copy link

commented Aug 16, 2019

+++++++10086

@abhijitkane

This comment has been minimized.

Copy link
Member

commented Aug 16, 2019

@mengdodo @MMRandy Request capture is available in the latest Postman version - 7.5.0. Docs - https://learning.getpostman.com/docs/postman/sending_api_requests/capturing_http_requests/#using-the-interceptor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
You can’t perform that action at this time.