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

API error #72

Open
painsAgains opened this issue May 9, 2023 · 1 comment
Open

API error #72

painsAgains opened this issue May 9, 2023 · 1 comment

Comments

@painsAgains
Copy link

When use /v2/world API to access server,I got some unexpected errors.When I set the apikey parameter or the username parameter to null, I get a 500 status code. This means that the server side parsed the values of these two parameters, but parsed them incorrectly. This creates a possible security issue, such as an injection. So I think the server should be more strict with the formatting of the parameters and not parse the special values, but return 4xx, indicating that the user has a request construction error.

API PATH

/v2/words

Method

GET
@denkochev
Copy link

How do you make requests?

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