Web/API/HTTP Flashcards

1
Q

HTTP Status codes in GENERAL

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

HTTP OK

A

200

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

HTTP Verbs

A
  1. GET
  2. PUT
  3. POST
  4. PATCH
  5. DELETE
  6. HEAD
  7. CONNECT
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

HTTP Method used to open a tunnel

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

HTTP Unauthorized status code (unautheticated)

A

401

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

HTTP Forbidden status code (client is known but does not have access rights to the content)

A

403

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

HTTP Not Found status code

A

404

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

HTTP Internal Server Error status code

A

500

The server has encountered a situation it does not know how to handle.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

HTTP Service Unavailable status code

A

503

The server is not ready to handle the request

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

HTTP Bad Request status code

A

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).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

HTTP Moved Permanently status code

A

301

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

HTTP Temporary Redirect status code

A

307

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

HTTP Permanent Redirect status code

A

308

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

HTTP Cache fields

A
  • Cache-Control
  • Last-Modified
  • Expires
How well did you know this?
1
Not at all
2
3
4
5
Perfectly