I whitelisted my ip address on API access page but still it is returning empty response. Can someone please help me out??
- Thanks in advance!!
$ch = curl_init();
$data = array("to" => "streams.cdn0077.com");
// set url
curl_setopt($ch, CURLOPT_URL, "https://api.wmspanel.com/v1/routes/57b4fbbcdf224fb0fd00025e?client_id=XXXXXXX&api_key=ZZZZZZZZZZZZZ");
//return the transfer as a string
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PUT");
// $output contains the output string
$output = curl_exec($ch);
// close curl resource to free up system resources
answered you in support thread.
copied the response here..
I used PHP Curl. I don't know about -vvv option.
It returns 200 OK with empty response.