About 53 results
Open links in new tab
  1. HTTP Get with 204 No Content: Is that normal - Stack Overflow

    I know that a 204 - No Content is okay for an HTTP POST-Request. For GET request, if no data is to be sent back, is the 204 status code appropriate? Should I use 404, or just stick to 200 for success but …

  2. Appropriate use of a 204 HTTP Status Code - Stack Overflow

    Dec 11, 2019 · I am reading the RFC and can not quite determine if the following would be a suitable use of the 204 response code. The 204 response allows a server to indicate that the action has been

  3. How to keep ResponseBody on 204 No Content response?

    Nov 21, 2017 · The 204 (No Content) status code indicates that the server has successfully fulfilled the request and that there is no additional content to send in the response payload body.

  4. HTTP status codes : 204 OR 200 with body containing an empty object?

    The RFC2616 says : 10.2.5 204 No Content The server has fulfilled the request but does not need to return an entity-body, and might want to return updated metainformation. The response MAY include …

  5. What is the difference between 201 status code and 204 status code

    Aug 25, 2022 · Both 201 and 204 represent a successful request. For a more detailed explanation, you can refer to the following documentation: 201 Created The request has been fulfilled and has …

  6. Can an HTTP OPTIONS request return a 204 or should it always return …

    Feb 5, 2013 · The gist of it is, you can return a 204 for that if you want, but with regard to the CORS protocol, browsers don’t care if it’s a 200, 204 or some other 2xx response — anything in the 200 to …

  7. What does a 204 response mean when calling the MOVE for an azure ...

    May 8, 2023 · What does a 204 response mean when calling the MOVE for an azure resource (as opposed to 202) Ask Question Asked 2 years, 11 months ago Modified 2 years, 11 months ago

  8. Google.com and clients1.google.com/generate_204 - Stack Overflow

    5 204 responses are sometimes used in AJAX to track clicks and page activity. In this case, the only information being passed to the server in the get request is a cookie and not specific information in …

  9. HTTP status code for update and delete? - Stack Overflow

    Feb 26, 2010 · For a DELETE request: HTTP 200 or HTTP 204 should imply "resource deleted successfully". HTTP 202 can also be returned by either operation and would imply that the instruction …

  10. 200/204 or 404 in a Restful API design? - Stack Overflow

    Jun 1, 2019 · Should return empty list [] 200/204 or 404 in a Restful API design? [duplicate] Asked 6 years, 10 months ago Modified 6 years, 10 months ago Viewed 25k times