Comment Comment by rswail 204 No Content for nothing found is both not an error (because 2xx code) but also indicates there was nothing found to match the request.If it's an API, a 200 with an empty JSON object or array in the body is legitimate as well, but a 204 is explicit. parent rswail 6 months ago
If it's an API, a 200 with an empty JSON object or array in the body is legitimate as well, but a 204 is explicit.