We pushed an awesome new update to Postman just now with two big features.
Capturing requests using Interceptor
The Postman Interceptor can now capture requests directly from Chrome and save them to Postman’s history. This means you can debug your web apps’ APIs in real time! There is no need to install or configure a proxy. There are no code changes required either. You can filter requests according to the URL based on a regular expression. If you have a web app for which you don’t have a collection built already, or you just want to debug the APIs that your app is using, this is going to be a huge time saver. Built on the Chrome platform, the feature works effortlessly across Windows, Linux, Mac and Chrome OS.
Here is what you have to do to get this working:
1. Install Postman from the Chrome Web Store (if you don’t have it already!)
2. Install the Interceptor extension
3. Open Postman
4. Click on the Interceptor icon in the toolbar and switch the toggle to “on”
Here is a quick video of how that ought to look like if everything is working for you:
Note on security: The only entity that the Interceptor communicates with is Postman when then saves it to your history. We have open-sourced Interceptor and you can find the code on Github. Postman saves all your data locally inside IndexedDB.
Improved JSON and XML rendering
Integrating JSONView has been a big feature request, and finally it’s available inside Postman. Not just JSONView, we have also integrated the XMLTree library for improved XML response rendering. JSON and XML responses are collapsible so that you can go through huge response bodies easily. The search feature has also been improved. You should also notice a big improvement in response render times.
Big thanks to Prakhar, Arjun and Abhijit for their contributions for this update. I am very excited about what we have in store for the coming days. Stay tuned!