Answer the question
In order to leave comments, you need to log in
How to send POST JSON request via console using CURL in Windows 10 and get JSON response?
CURL works
couldn't find how to send...
found this
curl -d '{"name": "value", "name": "value"}' -H "Content-Type: application/json" -X POST https ://...
does not work,
although everything works in POSTMAN! It's just a pity that I need it through the console, and not through POSTMAN.
here is the error
Answer the question
In order to leave comments, you need to log in
it worked so well
curl -X POST -d '{"name": "value", "name": "value"}' -k -H "Content-Type: application/json" https://
curl --location --request POST 'google.com' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'name=value' \
--data-urlencode 'last_name=value'
curl --location --request POST 'google.com' --header 'Content-Type: application/x-www-form-urlencoded' --data-urlencode 'name=value' --data-urlencode 'last_name=value'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question