From your Network tab in the Chrome DevTools, select the XHR call and option click -> Copy -> Copy as cURL.
Now in Post man go to Import -> Paste Raw Text -> Paste
This will copy the exact request, including User Agent, headers, cookies, method payload, etc.. and modify to your needs.
Hope this allow you to debug/develop happier!
Top comments (6)
In a new version of chrome make sure you copy request as "copy as cURL(bash)" not cmd
Useful, thanks!
I've Just signed up, to say Thank you!
Thank you :)
this is very usefull. i wished that if internet had feature to subscribe usefull post in all over the internet is there any way to subscribe all those new tricks in all of the blogs?
Yes! Really useful