Answers for "curl command for post for windows"

PHP
2

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"}' \
 https://api.example.com/v2/login
Posted by: Guest on August-12-2021
0

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

Browse Popular Code Answers by Language