Kitten Placeholder

免费增值
通过 nijikokun | 已更新 לפני 7 ימים | Reward
人气

0.1 / 10

延迟

451ms

服务等级

0%

Health Check

N/A

返回所有讨论

Missing Mashape key

Rapid account: Delooo
Delooo
לפני 7 שנים

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.

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论