Answers for "curl post form"


curl post

# dont forget the content type, else it will throw an error

curl -X POST -H "Content-Type: application/json" \
 -d '{"username":"abc","password":"abc"}' \
Posted by: Guest on August-12-2021

curl post

curl --data ''

curl -X POST

curl --request POST
Posted by: Guest on August-15-2020

curl pass data in request

curl -d "param1=value1¶m2=value2" -X POST http://localhost:3000/data
Posted by: Guest on March-03-2020

curl post form

curl -X POST -F 'username=davidwalsh' -F 'password=something' http://domain.tld/post-to-me.php
Posted by: Guest on September-24-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language