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

STATUS 400 BAD REQUEST #5

Open
lammh opened this issue Nov 26, 2018 · 1 comment
Open

STATUS 400 BAD REQUEST #5

lammh opened this issue Nov 26, 2018 · 1 comment

Comments

@lammh
Copy link

lammh commented Nov 26, 2018

no data

i send post request in http://localhost:5128/resolve/text
data: {"text": "Donald Trump is the president of USA. He is a business man."}
and a have this response
{
"message": "No data."
}

@bermeitinger-b
Copy link
Member

I cannot reproduce your issue, the only way this response is created is in https://github.com/Lambda-3/PyCobalt/blob/master/service.py#L38 . Something must be wrong with your json-encoding.

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