Forum

Post a new question

Categories:

Tags:

Nimble API returns empty response

Vijay 2016-09-07 01:47:03 UTC in Nimble Streamer
5d814bc665e56074789b1fb9a401aee6

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!!

My PHP:
<?php

$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");
curl_setopt($ch, CURLOPT_POSTFIELDS,http_build_query($data));

// $output contains the output string
$output = curl_exec($ch);

// close curl resource to free up system resources
curl_close($ch);

print_r($output);

?>

Dmitry 2016-09-07 01:52:01 UTC
5207db6e39f0e08ce4fde1d55838004a

Hello,
answered you in support thread.

Vijay 2016-09-07 02:09:00 UTC
5d814bc665e56074789b1fb9a401aee6

Thank you!

copied the response here..

I used PHP Curl. I don't know about -vvv option.

It returns 200 OK with empty response.

Post a reply