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.
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.
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(
),
array(
)
);
Can somebody help me with this please ?
Thank you
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!
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
Great!
Just for future reference, here is one solution: http://stackoverflow.com/questions/24701258/trouble-with-mashape-api-using-google-apps-script
Not to worry, solved!