API-23 — Invalid Endpoint Returns 404 JSON Response
Error Handling
Backend API
API-23 — Invalid Endpoint Returns 404 JSON Response
API-23 — Invalid Endpoint Returns 404 JSON Response
Target
Backend API — Error Handling
Preconditions
- The API server is accessible
Steps
- Send GET https://project6.dxtserver.com/drivelink_new/public/api/v1/endpoint-that-does-not-exist
- Observe the response
Expected Result
- HTTP 404 is returned
- The response body is valid JSON
- The error message is descriptive but does not expose internal details