“Kod statusu” Kod odpowiedzi

Kody stanu HTTP

//Following are HTTP status codes
100 Continue
101 Switching Protocols
103 Early Hints
200 OK
201 Created
202 Accepted
203 Non-Authoritative Information
204 No Content
205 Reset Content
206 Partial Content
300 Multiple Choices
301 Moved Permanently
302 Found
303 See Other
304 Not Modified
307 Temporary Redirect
308 Permanent Redirect
400 Bad Request
401 Unauthorized
402 Payment Required
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Timeout
409 Conflict
410 Gone
411 Length Required
412 Precondition Failed
413 Payload Too Large
414 URI Too Long
415 Unsupported Media Type
416 Range Not Satisfiable
417 Expectation Failed
418 I'm a teapot
422 Unprocessable Entity
425 Too Early
426 Upgrade Required
428 Precondition Required
429 Too Many Requests
431 Request Header Fields Too Large
451 Unavailable For Legal Reasons
500 Internal Server Error
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Gateway Timeout
505 HTTP Version Not Supported
506 Variant Also Negotiates
507 Insufficient Storage
508 Loop Detected
510 Not Extended
511 Network Authentication Required
Isaac

Kod stanu HTTP

1xx Informational



100 Continue
101 Switching Protocols
102 Processing (WebDAV)


2xx Success


200 OK
201 Created
202 Accepted
203 Non-Authoritative Information
204 No Content
205 Reset Content
206 Partial Content
207 Multi-Status (WebDAV)
208 Already Reported (WebDAV)
226 IM Used

 
3xx Redirection


300 Multiple Choices
301 Moved Permanently
302 Found
303 See Other
304 Not Modified
305 Use Proxy
306 (Unused)
307 Temporary Redirect
308 Permanent Redirect (experimental)

4xx Client Error

400 Bad Request
401 Unauthorized
402 Payment Required
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Timeout
409 Conflict
410 Gone
411 Length Required
412 Precondition Failed
413 Request Entity Too Large
414 Request-URI Too Long
415 Unsupported Media Type
416 Requested Range Not Satisfiable
417 Expectation Failed
418 I'm a teapot (RFC 2324)
420 Enhance Your Calm (Twitter)
422 Unprocessable Entity (WebDAV)
423 Locked (WebDAV)
424 Failed Dependency (WebDAV)
425 Reserved for WebDAV
426 Upgrade Required
428 Precondition Required
429 Too Many Requests
431 Request Header Fields Too Large
444 No Response (Nginx)
449 Retry With (Microsoft)
450 Blocked by Windows Parental Controls (Microsoft)
451 Unavailable For Legal Reasons
499 Client Closed Request (Nginx)


5xx Server Error



500 Internal Server Error
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Gateway Timeout
505 HTTP Version Not Supported
506 Variant Also Negotiates (Experimental)
507 Insufficient Storage (WebDAV)
508 Loop Detected (WebDAV)
509 Bandwidth Limit Exceeded (Apache)
510 Not Extended
511 Network Authentication Required
598 Network read timeout error
599 Network connect timeout error
Irfan

Kod statusu

{
codes: [
    { status: 100, message: "Continue " },
    { status: 101, message: "Switching Protocols " },
    { status: 102, message: "Processing " },
    { status: 200, message: "OK " },
    { status: 201, message: "Created " },
    { status: 202, message: "Accepted " },
    { status: 203, message: "Non - authoritative Information " },
    { status: 204, message: "No Content " },
    { status: 205, message: "Reset Content " },
    { status: 206, message: "Partial Content " },
    { status: 207, message: "Multi - Status " },
    { status: 208, message: "Already Reported " },
    { status: 226, message: "IM Used " },
    { status: 300, message: "Multiple Choices " },
    { status: 301, message: "Moved Permanently " },
    { status: 302, message: "Found " },
    { status: 303, message: "See Other " },
    { status: 304, message: "Not Modified " },
    { status: 305, message: "Use Proxy " },
    { status: 307, message: "Temporary Redirect " },
    { status: 308, message: "Permanent Redirect " },
    { status: 400, message: "Bad Request " },
    { status: 401, message: "Unauthorized " },
    { status: 402, message: "Payment Required " },
    { status: 403, message: "Forbidden " },
    { status: 404, message: "Not Found " },
    { status: 405, message: "Method Not Allowed " },
    { status: 406, message: "Not Acceptable " },
    { status: 407, message: "Proxy Authentication Required " },
    { status: 408, message: "Request Timeout " },
    { status: 409, message: "Conflict " },
    { status: 410, message: "Gone " },
    { status: 411, message: "Length Required " },
    { status: 412, message: "Precondition Failed " },
    { status: 413, message: "Payload Too Large " },
    { status: 414, message: "Request - URI Too Long " },
    { status: 415, message: "Unsupported Media Type " },
    { status: 416, message: "Requested Range Not Satisfiable " },
    { status: 417, message: "Expectation Failed " },
    { status: 418, message: "I’m a teapot " },
    { status: 421, message: "Misdirected Request " },
    { status: 422, message: "Unprocessable Entity " },
    { status: 423, message: "Locked " },
    { status: 424, message: "Failed Dependency " },
    { status: 426, message: "Upgrade Required " },
    { status: 428, message: "Precondition Required " },
    { status: 429, message: "Too Many Requests " },
    { status: 431, message: "Request Header Fields Too Large " },
    { status: 444, message: "Connection Closed Without Response " },
    { status: 451, message: "Unavailable For Legal Reasons " },
    { status: 499, message: "Client Closed Request " },
    { status: 500, message: "Internal Server Error " },
    { status: 501, message: "Not Implemented " },
    { status: 502, message: "Bad Gateway " },
    { status: 503, message: "Service Unavailable " },
    { status: 504, message: "Gateway Timeout " },
    { status: 505, message: "HTTP Version Not Supported " },
    { status: 506, message: "Variant Also Negotiates " },
    { status: 507, message: "Insufficient Storage " },
    { status: 508, message: "Loop Detected " },
    { status: 510, message: "Not Extended " },
    { status: 511, message: "Network Authentication Required " },
    { status: 599, message: "Network Connect Timeout Error" },
]
}
Beautiful Bee

Kody stanu HTTP

1. Informational responses (100–199)
2. Successful responses (200–299)
3. Redirects (300–399)
4. Client errors (400–499)
5. Server errors (500–599)

Client Error Responses:
400 Bad Request
401 Unauthorized
402 Payment Required
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Timeout
409 Conflict
410 Gone
411 Length Required
412 Precondition Failed
413 Request Entity Too Large
414 Request-URI Too Long
415 Unsupported Media Type
416 Requested Range Not Satisfiable
417 Expectation Failed
Tiny Coders

200 kod błędu

The HTTP 200 OK success status response code indicates that the request has succeeded. A 200 response is cacheable by default. The meaning of a success depends on the HTTP request method: GET : The resource has been fetched and is transmitted in the message body.

from developer.mozilla.org
Wrong Wombat

Kody stanu HTTP

GET   : 200 OK - Most of the read actions will be answered with a 200 OK status.
POST  : 201 Created - Signals backend-side resource creation.
PUT   : 200 OK - This is the most appropriate code for most use-cases - returns the updated resource.
DELETE: 204 No Content - It’s better to reduce traffic and simply tell the client the deletion is complete.
Energetic Eland

Odpowiedzi podobne do “Kod statusu”

Pytania podobne do “Kod statusu”

Więcej pokrewnych odpowiedzi na “Kod statusu” w JavaScript

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu