Introduction
Postman is an API development platform for designing, building and testing API (Application Programming Interface). It can create different HTTP requests (GET, POST, PUT), save environments for later use, and convert the API to code for various languages (like Javascript, Python).
Postman Interceptor allows you to track all the network requests and cookies from the chrome browser. Interceptor acts as a companion to the Postman Desktop Application. All the session activities are logged into the History tab.
In this article, we will discuss what is postman interceptor, how to install and use it.
What is Postman Interceptor?
Postman Interceptor is a Chrome extension that keeps track of all the network requests and cookies sessions fired from the chrome browser. These requests are saved in the History Tab of the Postman Desktop Application. Postman Interceptor acts as a companion to the desktop application.
After the installation of the Postman Interceptor, start a debug session to capture the traffic. Send requests and responses to the collection and save cookies to the Postman Jar.
What is the use of the Postman Interceptor?
Before deploying an application, developers experiment with the application and test its working, to understand its behavior. Let’s say that you have created an API and you are experimenting with it by sending requests and checking their responses. Wouldn’t it be nice if you could see what request is creating what kind of response? Wouldn’t it be nice to log all the requests you have sent? Of course, it would be nice! All this is done by the Postman Interceptor.
We can think of the Postman Interceptor as a Baby Monitor. A baby monitor is a CCTV camera that is fit in the small Baby’s room so that the parents can keep a check on the baby from another room or their office. Similarly, Postman Interceptor (the Baby monitor) is a monitor that keeps a check of the requests sent (the baby) by the developer (the parent).