Use your username and password to login to this forum, if you don't have one, clicking on register will take you to the registration form on

Call to the api doesn't work

Post here any issues with the API or feature requests

Call to the api doesn't work

Postby benf45 » Fri Sep 15, 2017 2:34 pm

Hi ,
When i make a call to the api i always get no response.

I usually use this to make the call:

Code: Select all
ch = curl_init();
curl_setopt($ch, CURLOPT_URL, '');
curl_setopt($ch, CURLOPT_HTTPHEADER, array('api-key: ******************', 'client-key: ********************'));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$json = curl_exec($ch);

$results = json_decode($json, true);

Please help.

Thank you.
Posts: 1
Joined: Fri Sep 15, 2017 2:28 pm

Re: Call to the api doesn't work

Postby Kode » Fri Sep 15, 2017 4:37 pm

Come on to the discord server and I'll see if I can help you, it looks fine to me from a quick look though, could be because you are using http not https maybe it's not following the redirect.
User avatar
Site Admin
Site Admin
Posts: 353
Joined: Wed Dec 18, 2013 11:34 am

Return to API

Who is online

Users browsing this forum: No registered users and 0 guests