New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
400 Bad request issue #93
Comments
you can try using mockbin.org to debug the request easily, I suggest you try there, maybe make a bin and share it back here so we can inspect together. |
POSTing to mockbin gave a 200 response.
|
indeed a serious bug here ... fixing now. |
this is now fixed in PLEASE NOTE: |
thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My code:
Response:
cURL works fine:
curl -X POST --include 'https://textanalysis.p.mashape.com/spacy-named-entity-recognition-ner'
-H 'X-Mashape-Key: '
-H 'Content-Type: application/x-www-form-urlencoded'
-H 'Accept: application/json'
-d 'text=Rami Eid is studying at Stony Brook University in New York'
I thought it might be a SSL problem, so I disabled peer verification with:
Is there a way to see all the curl options from unirest? Or debug the request somehow?
The text was updated successfully, but these errors were encountered: