Text-Processing

FREEMIUM
By Jacob | Updated hace 4 días | Text Analysis
Popularity

9.6 / 10

Latency

318ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Invalid Mashape key - PHP method

Rapid account: Fgredruello
fgredruello
hace 10 años

Hi!

Can you help me ??

PHP example method:

$response = Unirest::post(
https://japerk-text-processing.p.mashape.com/sentiment/”,
array(
“X-Mashape-Authorization” => “MY_MASHAPE_KEY”
),
array(
“text” => “”,
“language” => “”,
));

return:

HttpResponse Object ( [code:HttpResponse:private] => 403 [raw_body:HttpResponse:private] => {“message”:“Invalid Mashape key. If you are a Mashape user, get your key from your dashboard at https://www.mashape.com/login - To create a free Mashape account instead, go to https://www.mashape.com/signup”} [body:HttpResponse:private] => stdClass Object ( [message] => Invalid Mashape key. If you are a Mashape user, get your key from your dashboard at https://www.mashape.com/login - To create a free Mashape account instead, go to https://www.mashape.com/signup ) [headers:HttpResponse:private] => Array ( [Date] => Wed, 24 Apr 2013 13:10:57 GMT ) )

Thanks!

Rapid account: Fgredruello
fgredruello Commented hace 10 años

Sorry for any incovenience, error in my php library… 😦

API Works !!!

Thanks!

Join in the discussion - add comment below:

Login / Signup to post new comments