Use your fanart.tv 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 fanart.tv
Post here any issues with the API or feature requests
by 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, 'http://webservice.fanart.tv/v3/movies/395992');
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.
-
benf45
-
- Posts: 1
- Joined: Fri Sep 15, 2017 2:28 pm
by 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.
-

Kode
- Site Admin

-
- Posts: 350
- Joined: Wed Dec 18, 2013 11:34 am
Return to API
Who is online
Users browsing this forum: No registered users and 3 guests