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

Incorrect 'wrong status code' for Server Info #81

Open
matthijsbrouwer opened this issue May 29, 2024 · 0 comments
Open

Incorrect 'wrong status code' for Server Info #81

matthijsbrouwer opened this issue May 29, 2024 · 0 comments

Comments

@matthijsbrouwer
Copy link

I encountered an issue when testing my flask-restx based BrAPI server. Accessing the URL results in a "wrong status code" error for the /serverinfo endpoint.

Server Info (0/1)
GET /serverinfo (wrong status code)
Test: Status code should be 200

Upon investigating the log files from the BrAPI server, I found a request to:

GET /my-location/brapi/serverinfo?json=

On my server this request does not return a 200 status code and instead results in an error due to the unknown json parameter. Shouldn't the json parameter be omitted by the validator?

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