During web development, we need to test the outgoing web requests from our web browsers. One tool that we could use and most of web developers are using is Postman. This post will show how to execute HTTP requests from developer tools to Postman.
The api that we will use for this exercise is https://httpbin.org/ A simple HTTP Request & Response Service.
We will execute a POST request called from anything section here
Steps to execute HTTP requests from developer tools to Postman
Step 1 – Open web developer tools and then execute Anything request with Try it out button
Shortcuts for Mac: Cmd + Opt + I to open the Developer Tools
Shortcuts for windows/Linux: F12, or Ctrl + Shift + I to open the Developer Tools.
Step 2 – Navigate to the Network tab on web developer tools press Try it out and then Execute in order to execute the request
Step 3 – Right click on the request and select Copy-> ‘copy all as cURL’
Step 4 – Open Postman and select Import -> Raw Text
Step 5 – Paste raw text and continue to import
That’s it for now.
If you liked this article, then please subscribe to my YouTube Channel for video tutorials.