We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I created an endpoint like:
@online.route("hello_world") def hello_world(): message = { 'message': 'Hello World' } return message
And called it without body, the response was e 400 bad request:
This happens because the following line:
pyCarol/pycarol/app/online_api.py
Line 107 in 14cc9b7
It calls flask.request.json():
flask.request.json()
If I add a body to the request, it works normally:
When making a GET call to an endpoint, body should not be required.
The text was updated successfully, but these errors were encountered:
This issue should be labeled at least with kind and priority labels.
kind
priority
Sorry, something went wrong.
No branches or pull requests
Current problem
When I created an endpoint like:
And called it without body, the response was e 400 bad request:
This happens because the following line:
pyCarol/pycarol/app/online_api.py
Line 107 in 14cc9b7
It calls
flask.request.json()
:If I add a body to the request, it works normally:
What's expected
When making a GET call to an endpoint, body should not be required.
The text was updated successfully, but these errors were encountered: