Kitten Placeholder

פרמיום
על ידי nijikokun | מְעוּדכָּן 4 days ago | Reward
פּוֹפּוּלָרִיוּת

0.2 / 10

חֶבִיוֹן

464ms

רמת שירות

0%

Health Check

N/A

חזרה לכל הדיונים

Missing Mashape key

Rapid account: Delooo
Delooo
7 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.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות