Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to send curl POST variables in POSTMAN

Tags:

json

curl

postman

How can I send these details(POST method) in Postman to receive a response as JSON data?

curl https://api.mysite.contact/info/regular \
    -d "api_key=xxx" \
    -d "access_token=yyy" \
    -d “name=firstName” \
    -d “address=123” \
    -d “[email protected]
like image 355
user3744071 Avatar asked Apr 29 '16 18:04

user3744071


Video Answer


1 Answers

Since you already have a valid curl request, you can actually import that and Postman will automatically convert it into a Postman call.

  1. From the main menu, click "Import"
  2. Click "Paste Raw Text"
  3. Paste your curl request and click "Import"
like image 159
blau Avatar answered Oct 07 '22 16:10

blau