Jan 262018
 January 26, 2018  Posted by at 11:09 am Random, Web  Add comments

A quick post and a neat little tip! We use Postman a lot at work and I really like the tool and have written and talked about it a lot. All our services are Web API services, and we have one client that talks to the services through a proxy. When QA is testing new features and fixes they often come across requests that don’t act as expected. Reproducing the request with the same condition can be challenging, so we have been using Postman and Chrome for that. Simply have Dev Tools open in Chrome, and select Copy request on the request, and then Copy as cUrl (bash). [EDIT: I’ve uploaded better screenshots]

In Postman select Import and then Paste Raw Text.


Paste the request in and you are good to go! Headers, body and so on, everything is added. You can then save the request to a collection and modify to your liking.


  One Response to “Easy API testing & debugging with Postman & Chrome: How to copy a request”

  1. Stop debugging with console log

    [Restbird](https://restbird.org) now released VScode debugger extension support real debugging with VSCode IDE for all test scripts written in GoLang, Python and Javascript.


 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>



What is 9 + 15 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)