3 ms·
This is where error response messages should come into play. Returning a JSON object with a "message" attribute containing "No such route/path" vs "Object not f
by rocmcd 6y ago
This is where error response messages should come into play. Returning a JSON object with a "message" attribute containing "No such route/path" vs "Object not found" depending on the context of the 404 makes it immediately clear where the issue is.