Answers for "how to get response from curl"

PHP
16

curl post request

curl -d "user=user1&pass=abcd" -X POST https://example.com/login
Posted by: Guest on May-22-2020
1

get status code of curl

curl -o /dev/null -s -w "%{http_code}\n" http://localhost
Posted by: Guest on January-15-2021

Browse Popular Code Answers by Language