WhiteHatBox
Share Page
Following(0)
Partner(s)
mavillar

API not working

ReplyThanks 2017/04/08 15:16:20 0 0

Hi,

I'm trying to get started with the API calls and followed the example and instructions in website:

The PHP code is:


$data = $items[0]['descripcion'];

echo $data."<br /><br />";

$url = " http://api.spinnerchief.com:443/apikey=apixxxxxxxxxxx&username=mynick&password=mypass";

$req = curl_init();
curl_setopt($req, CURLOPT_URL, $url);
curl_setopt($req, CURLOPT_RETURNTRANSFER,1);
curl_setopt($req, CURLOPT_POST, true);
curl_setopt($req, CURLOPT_POSTFIELDS, $data);
$result = trim(curl_exec($req));
curl_close($req);

print_r($result);

The question is that nothing is returned and API calls in dashboard do not countdown.

What's wrong?

Aprilcaicai
2017/04/08 16:42:57
Hi, please wait for a moment, later we will reply to you.
<< < 1> >>
VerifyCode
Advanced Option