forked from sphinix27/notifier_api_test
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Description
When we try to put an incorrect ID for a specific channel such as a number followed by letters, characters or both, instead of id, occurs unnecessary search because the response returns error 404 Not found.
Environment
- An Notifier Server installed with version 1.0
- Operating System and version:
Windows Server 2012 R2
Requirements
- Rest Client: E.g. Postman.
API
- Method:
DELETE - Endpoint:
/api/channels/id
Steps to Reproduce
- Open Postman.
- In Postman select 'DELETE' method for URL.
- In Postman Enter the endpoint and invalid ID . E.g. http://128.0.0.1/api/channels/ 15#$a
- Click on Send button.
Receive:
status 404
Actual Result
The status code is 404 "Not Found"
Expected Result
The status code should be 400 "Bad Request"
Cynthia Victoria terrazas Gutierrez
Fundacion Jala
Reactions are currently unavailable