Sentiment Analysis

免费增值
Verified
通过 Twinword API | 已更新 एक महीने पहले | Text Analysis
人气

9.6 / 10

延迟

229ms

服务等级

100%

Health Check

N/A

返回所有讨论

Keeps saying invlad Mashape Aplication Key 401 error

Rapid account: Mtsvelik
mtsvelik
10 वर्ष पहले
Rapid account: Chaitupramod
chaitupramod Commented 8 वर्ष पहले

I am also facing the same problem . there is an error which states ‘{“result_code”:“415”,“result_msg”:“Does not look like a valid request”}’ in my json output.

The code I am using is :

$response = Unirest\Request::post(“https://twinword-sentiment-analysis.p.mashape.com/analyze/”,

array(

"X-Mashape-Key" => "xxxxx",


"Content-Type" => "application/x-www-form-urlencoded",


"Accept" => "application/json"

),

array(

"text" => "great value in its price range!"

)

);

Can somebody help me with this please ?

Rapid account: Cmorisetty
cmorisetty Commented 9 वर्ष पहले

Thank you

Rapid account: Twinword
twinword Commented 9 वर्ष पहले

Hi cmorisetty,

First, thanks for trying our API!

That error appears when the endpoint does not receive a POST or GET parameter called “text” containing the string of text you want to analyze.

Please let us know if you need more help! Thanks!

Rapid account: Cmorisetty
cmorisetty Commented 9 वर्ष पहले

Hi,

I am trying to access your API however, I keep receiving an error response as “415: Does not look like a valid request”.

When does the api return this result? If there is something wrong with the data or something wrong with JSON object passed to the API? I am using .Net to connect to it.

Thank you.

Note: I am quite new to all this

Rapid account: Twinword
twinword Commented 10 वर्ष पहले
Rapid account: Mtsvelik
mtsvelik Commented 10 वर्ष पहले

Not to worry, solved!

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

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