Kitten Placeholder

FREEMIUM
By nijikokun | Updated a year ago | Reward
Popularity

0.1 / 10

Latency

414ms

Service Level

0%

Back to All Discussions

Missing Mashape key

D
Delooo
5 years ago

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.

Join in the discussion - add comment below:

Login / Signup to post new comments
Rating: 5 - Votes: 1