ESA Semantic Relatedness

免费增值
通过 amtera | 已更新 21日前 | Other
Health Check

N/A

返回所有讨论

ESA Semantic Relatedness not working

Rapid account: Mrafiee
mrafiee
9年前

I am not able to get java API for ESA Semantic Relatedness work. I get the following error:
{“description”:"<p>The browser (or proxy) sent a request that this server could not understand.</p>"}

Any help will be appreciated.
Thanks.,
MR

Rapid account: Amtera
amtera Commented 9年前

Glad to help you.

Rapid account: Mrafiee
mrafiee Commented 9年前

Thanks for your response. I had actually copied and pasted the code from your java snippet. But thanks to your hint, I figured out the issue was the single quotes needed to be changed to double quotes in the json for it to work. Thanks!

Rapid account: Amtera
amtera Commented 9年前

Hi,

Seems the request is not well formed.
First verify your json message with this tool http://jsonlint.com and make sure you’re sending application/json in the Content-Type HTTP header.

Let me know if you need further help.

regards,

Leonardo Souza

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

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