Questions tagged [http-status]

The status code describes the state of the response from the web server.

Each Status-Code is described in the W3C HTTP 1.1 specifications, including a description of which method(s) it can follow and any metainformation required in the response.

78 questions
-2
votes
2 answers

How to choose HTTP status code for unavailable event

Description: The user inquires about the availability of the event on a given day. Question: Which response code should I send back if new event can not be created on this day? 404? 400? 422? My choice: I chose the "404 Not Found" status code: { …
Adee
  • 357
  • 1
  • 3
  • 13
-2
votes
1 answer

When I wrote an api document, I don't know how to write request and response side

I made some code for sending data to other url and that was written with spring and java, using 'httpclient' class. About that code please check this question that I made how to get http status value? I have a problem with request and response of…
-2
votes
3 answers

How to return http statuscodes in php?

Possible Duplicate: return a specific http status code with php How can I programmatically send specific http statuscodes with php? Is there any Method or even a class for this?
LostPhysx
  • 3,573
  • 8
  • 43
  • 73
1 2 3 4 5
6