Reputation: 415
I try to execute the next CURL .
How can I add the param -d in POSTMAN
curl https://core.spreedly.com/v1/gateways.json \
-u 'Ll6fAtoVSTyVMlJEmtpoJV8S:RKOCG5D8D3fZxDSg504D0IxU2XD4Io5VXmyzdCtTivHFTTSy' \
-H 'Content-Type: application/json' \
-d '{
"gateway": {
"gateway_type": "test"
}
}'
Upvotes: 6
Views: 8985
Reputation: 27724
-d
is POST data.
You need to add your JSON data to the body section of the request and set the request method to POST
.
E.g.
Upvotes: 14