Forum

Nimble API returns empty response

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

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 

Hello,
answered you in support thread.

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

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


Post a new question

Categories:

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.