cURL and Postman work wonderfully together

Avatar

cURL is the most used command line tool for making API calls. However, it is a little cumbersome to work directly with cURL, since even a simple cURL request looks like this:

Screen Shot 2016-02-02 at 6.59.53 PM

Postman has a nice UI, which makes it easy to add/remove parameters, changing things is more flexible. Postman also allows users to save requests etc, which cURL is not designed to do. In short, Postman allows a modern, simpler workflow.

The good news is, Postman can help make cURL easier to use. We do that in two ways.

  1. An easier way to create cURL commands.

    You can construct a request in Postman and convert it to cURL using the code snippet generator.

  2. Running cURL commands in a more user-friendly way.
    You can import a cURL request into Postman and run it.

If you found this useful, you should also take a look at the other options in the code snipper generator. You can convert a request into many programming languages such as Go, Objective-C, Python, etc.
Screen Shot 2016-02-02 at 6.58.08 PM

We aim to make Postman as flexible for your needs as possible. Do let us know if you’ve come up with cool use cases of the code snippet generator!

Comment

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.

10 thoughts on “cURL and Postman work wonderfully together