Quantcast
Channel: priyanka – Postman Blog
Viewing all articles
Browse latest Browse all 19

cURL and Postman work wonderfully together

$
0
0

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. Check out the documentation.

  2. Running cURL commands in a more user-friendly way.
    You can import a cURL request into Postman and run it. Here’s the details on how.

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!


Viewing all articles
Browse latest Browse all 19

Trending Articles