Open a browser on the mobile device or any app and keep an eye on the Postman app. Set the proxy port to the same as the port in the Postman app, i.e. Enter the computer’s IP address as your Proxy Host. You can do this by going to Settings -> Wi-Fi and selecting the Modify Network option. Configure HTTP Proxy on the mobile device.You should see this in your Network settings. Select the target to capture the requests. Click on the Proxy Settings button in the top menu bar.I’m going to use a Mac laptop and an Android smartphone. To get started, we need the computer and the mobile device to be connected to the same wireless network.Capturing API requests from Postman Proxy The flow is setup in a way that the internet traffic passes through the proxy server while attempting to reach the web address you requested. In our case, we will use the mobile device as a client, and make the computer act as a proxy between the client and the server. Simply put, a proxy server is a gateway between the client and the server. All we need is a computer (Windows/Mac), a mobile device (iOS/Android) and Postman. In this segment, we’ll see how you can do this using a proxy server. Keeping that in mind, Postman is designed to help you inspect the web traffic originating from your mobile device. With reports suggesting that 70 percent of all the web traffic is coming from mobile devices, the need to understand the requests from a mobile device and perceive what is happening behind the scenes while performing operations is of utmost importance to developers.Īt Postman, we believe in making lives simpler for developers. Over the last few years we have seen the focus move drastically from desktop devices to mobile devices. This post is an update of an original tutorial on Postman Proxy by our Chief Software Architect, Shamasis Bhattacharya.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |