User tests: Successful: Unsuccessful:
Pull Request for Issue #46095 .
This PR fixes the DELETE endpoints to properly return HTTP 404 status code when attempting to delete non-existent resources, instead of returning 204 (No Content).
execute a DELETE for a non-existent resource es: /api/index.php/v1/contacts/99999
DELETE /api/v1/contacts/9999 returned 204 (No Content)
DELETE /api/v1/contacts/9999 returns 404 (Not Found) with error message
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries JavaScript Unit Tests |
Labels |
Added:
Unit/System Tests
PR-6.0-dev
|
Labels |
Added:
Webservices
|
Title |
|