Skip to content
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

Server returns invalid json when there is no data. #8

Closed
curusarn opened this issue Oct 26, 2017 · 1 comment
Closed

Server returns invalid json when there is no data. #8

curusarn opened this issue Oct 26, 2017 · 1 comment

Comments

@curusarn
Copy link
Contributor

This is different bug than #6

These two calls give me Invalid JSON:
>>> curl "localhost:8000/recognize?data="
>>> curl "localhost:8000/recognize?output=vertical&data="

{
 "model": "cnec2.ner",
 "acknowledgements": [
  "http://ufal.mff.cuni.cz/nametag#nametag_acknowledgements",
  "http://ufal.mff.cuni.cz/morphodita#morphodita_acknowledgements"
 ],
 "result": }

Feel free to contact me to get more information.

@foxik
Copy link
Member

foxik commented Dec 10, 2020

Sorry, I found out about the issue only now. Anyway, it seem to have been fixed already.

@foxik foxik closed this as completed Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants