Kitten Placeholder

FREEMIUM
Par nijikokun | Mise à jour il y a un an | Reward
Popularité

0.1 / 10

Latence

414ms

Niveau de service

0%

Retour à toutes les discussions

Missing Mashape key

D
Delooo
il y a 5 ans

When I try to connect it says {“message”:“Missing Mashape application key. Go to http://docs.mashape.com/api-keys to learn how to get your API application key.”}

even if my code is right (I think);
args=array("XMashapeKey"=>"MYKEYHERE","Accept"=>"application/json");args = array( "X-Mashape-Key" => "MYKEYHERE", "Accept" => "application/json" ); r = new HttpRequest(“get”, “https://nijikokun-random-cats.p.mashape.com/random”, args);args); rr = $r->getResponse();

I use a library for httprequest which I am sure it works perfectly.

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires
Note : 5 - Votes : 1