We do not consistently handle error reporting in a useful manner in the anms-core REST APIs.
In several cases, we do correctly detect an error has occurred and return an HTTP error status code within our JSON reply, but we should also be setting the HTTP response code appropriately to enable standardized error handling/detection by the caller.
We do not consistently handle error reporting in a useful manner in the anms-core REST APIs.
In several cases, we do correctly detect an error has occurred and return an HTTP error status code within our JSON reply, but we should also be setting the HTTP response code appropriately to enable standardized error handling/detection by the caller.