Web/API/HTTP Flashcards
HTTP Status codes in GENERAL
ISRCS
* 1xx (I)nformational – the request was received, continuing process
* 2xx (S)uccessful – the request was successfully received, understood, and accepted
* 3xx (R)edirection – further action needs to be taken in order to complete the request
* 4xx (C)lient error – the request contains bad syntax or cannot be fulfilled
* 5xx (S)erver error – the server failed to fulfil an apparently valid request
HTTP OK
200
HTTP Verbs
- GET
- PUT
- POST
- PATCH
- DELETE
- HEAD
- CONNECT
HTTP Method used to open a tunnel
CONNECT
The client asks an HTTP Proxy server to tunnel the TCP connection to the desired destination. The server then proceeds to make the connection on behalf of the client. Once the connection has been established by the server, the Proxy server continues to proxy the TCP stream to and from the client.
HTTP Unauthorized status code (unautheticated)
401
HTTP Forbidden status code (client is known but does not have access rights to the content)
403
HTTP Not Found status code
404
HTTP Internal Server Error status code
500
The server has encountered a situation it does not know how to handle.
HTTP Service Unavailable status code
503
The server is not ready to handle the request
HTTP Bad Request status code
400
The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
HTTP Moved Permanently status code
301
HTTP Temporary Redirect status code
307
HTTP Permanent Redirect status code
308
HTTP Cache fields
- Cache-Control
- Last-Modified
- Expires