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

The REST API returns JSON payload with Content-Type "text/string" #49

Open
mgZenMaster opened this issue Apr 24, 2022 · 0 comments
Open

Comments

@mgZenMaster
Copy link

This makes some clients need to bend over backwards to process the results. The fix for this seems to be fairly easy, just change the HUG annotations, for example:
@hug.post("/dep", output=hug.output_format.json)
This would be, of course, a change in the spacy-services repository, but I can't open an issue there.

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

1 participant