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]The endpoint GET /api/centers/clubs/{id} has Wrong status code when user input invalid data #2140

Open
zahar777 opened this issue Jan 18, 2024 · 0 comments

Comments

@zahar777
Copy link

Environment: Postman.

Preconditions
Sign in to the system
POST request http://speak-ukrainian.eastus2.cloudapp.azure.com/dev/api/signin
Body
{
"email": "[email protected]",
"password": "Admin_QC24"
}
{{server}} = http://speak-ukrainian.eastus2.cloudapp.azure.com
Steps to reproduce
1.Set up GET request {{server}}/dev/api/centers/clubs/1?size=1&page=1&sort=Name

Actual result
The status code 200.
image

Expected result
Status code 400 bad request.

Labels to be added
"Bug", Priority ("pri:hight "), Severity ("severity: hight "), "API".

@zahar777 zahar777 changed the title [API]The endpoint GET /api/centers/clubs/{id} has Wrong status code when use input invalid data [API]The endpoint GET /api/centers/clubs/{id} has Wrong status code when user input invalid data Jan 18, 2024
@softservedata softservedata moved this to ToDo in QCBoard Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ToDo
Development

No branches or pull requests

1 participant