Answers for "curl get request and and do a parse json response"

PHP
18

curl post json

curl -X POST -H "Content-Type: application/json" \
 -d '{"username":"abc","password":"abc"}' \
 https://api.example.com/v2/login
Posted by: Guest on July-03-2020
-2

php curl_exec get response json

$result = curl_exec($cURL);
$result = json_decode($result,true);
Posted by: Guest on October-01-2020

Code answers related to "curl get request and and do a parse json response"

Browse Popular Code Answers by Language