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
Join in the discussion - add comment below:
Glad to help you.
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!
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