Converting a POSTMAN request to Curl

Open code window

You can see the button "Code" in the attached screenshot, press it and you can get your code in many different languages including PHP cURL

Code snippets window

Edited: As other answers said Postman UI was updated, I change the images accordingly


Starting from Postman 8 you need to visit here

enter image description here


The first answer here works with the older versions of Postman. With the latest releases in 2021 the cURL can be found clicking this icon (circled in red) enter image description here


If you're like me running MacOS and still have Postman v7, you have to click the ellipses here to find the code option