Text-Processing

免费增值
通过 Jacob | 已更新 16 days ago | Text Analysis
人气

9.6 / 10

延迟

318ms

服务等级

100%

Health Check

N/A

返回所有讨论

Invalid Mashape key - PHP method

Rapid account: Fgredruello
fgredruello
10 years ago

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 10 years ago

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

API Works !!!

Thanks!

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

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