You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce
Create a collection on Postman
Click on the “add request” button
Use the POST method to call a request http://qa-school-test-api.quantori.academy/api/v1/session
Enter the following “string” in the “Body” in the following order
• {
“username”: “admin”,
“password”: “1234”
}
Press the “send” button to generate an “accessToken”.
Click “Add request” to call a 'non-existing material id' in a course
Use the GET method to call a request {{Host}}api/v1/courses/3093/materials/200
No needed “string” in the “Body”
Actual behaviour
• Status code: 200; Ok
Body Response: "Null" in the body
Expected ### behaviour
• Status code: 404 Not found
Body Response: "Enter a valid material id"
Screenshots
If applicable, add screenshots to help explain your problem.
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Create a collection on Postman
Click on the “add request” button
Use the POST method to call a request http://qa-school-test-api.quantori.academy/api/v1/session
Enter the following “string” in the “Body” in the following order
• {
“username”: “admin”,
“password”: “1234”
}
Press the “send” button to generate an “accessToken”.
Click “Add request” to call a 'non-existing material id' in a course
Use the GET method to call a request {{Host}}api/v1/courses/3093/materials/200
No needed “string” in the “Body”
Actual behaviour
• Status code: 200; Ok
Body Response: "Null" in the body
Expected ### behaviour
• Status code: 404 Not found
Body Response: "Enter a valid material id"
Screenshots
If applicable, add screenshots to help explain your problem.
Screenshots
![image](https://user-images.githubusercontent.com/80711251/176881532-4f91e1d4-77f9-4dcd-9a76-7a9584556d8f.png)
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: