HTTP Methods, Status Codes, and Headers Flashcards

1
Q

indicates the desired action

A

Method

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

Methods are sometimes called

A

HTTP verbs

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

used to request a specific resource

A

GET

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

GET requests are meant to be

A

read only

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

used to submit data to the server

A

POST

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

identical response to a GET request. expected but without the response body

A

HEAD

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

used for checking validity, recent modification

A

HEAD

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

replaces current resoruce

A

PUT

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

delete a resource

A

DELETE

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

used to establish a connection to the server over a tunnel proxy

A

CONNECT

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

used to echo contents of an HTTP request back to the client

A

TRACE

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

used to ask the server about its supported methods

A

OPTIONS

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

used to apply modification to the data in the specified URL

A

PATCH

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

CRUD Operations

A

CREATE
READ
UPDATE
DELETE

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

HTTP Methods Characteristics

A

Safe
idempotent
Cacheable

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

do not alter the server state

A

Safe

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

applied several times without changing the result

A

Idempotency

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

TRUE OR FALSE
some safe methods are idempotent

A

FALSE

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

Cacheable Methods

A

HEAD
GET

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

3-digit code found in the first line of HTTP response messages

A

Status Code

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

included next to status code

A

Reason Phrase or status message

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

Status Codes Classification

A

100-199 Informational
200-299 Success
300-399 Redirection
400-499 Client Error
500-599 Server Error

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

200

A

OK

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

201

A

Created

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

300

A

Multiple Choices

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

301

A

Moved Permanently

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

302

A

Found

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

304

A

Not Modified

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

400

A

Bad request

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

401

A

Unauthorized

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

403

A

Forbidden

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

404

A

Not Found

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

405

A

Method Not Allowed

34
Q

410

35
Q

413

A

Request Entity Too Large

36
Q

414

A

Request URI Too Long

37
Q

415

A

Unsupported Media Type

38
Q

500

A

Internal Error

39
Q

501

A

Not Implemented

40
Q

503

A

Service Unavailable

41
Q

504

A

Gateway Timeout

42
Q

505

A

HTTP Version Not Supported

43
Q

100

44
Q

101

A

Switching Protocols

45
Q

allows the client and server to pass additional information in request and response messages

46
Q

Types of Headers

A

General Headers
Request Headers
Response Heaters
Entity Headers

47
Q

can be used for both request and response
not necessarily describing message body

A

General Headers

48
Q

only used in request messages

A

Request Headers

49
Q

used to give more details about the response

A

Response Headers

50
Q

details about the Server’s software

51
Q

describe the content of the message body

A

Entity Headers

52
Q

indicated by Values of content-type header

53
Q

MIME

A

Multipurpose Internet Mail Extension

54
Q

HTTP is meant to be

A

extensible

55
Q

indicates the desired action for the specified resource

56
Q

Methods are sometimes called what

A

HTTP Verbs

57
Q

used to get a specific resource from the server

58
Q

GET requests are meant to be

59
Q

used to submit data to a server

60
Q

used for checking link validity, recent motivation or just to find out more about the resource without actually fetching it

61
Q

replaces the current resource in the specified path with the data in the request body

62
Q

deletes the resource in the specified path

63
Q

used by the client to establish a connection to the server over a tunnel proxy

64
Q

used to echo the contents of an HTTP request back to the client

65
Q

used to ask the server about the supported methods

66
Q

Used to apply partial modification to the data in the specified url

67
Q

CRUD operations

A

CREATE
READ
UPDATE
DELETE

68
Q

Characteristics of HTTP Methods

A

Safe
Idempotent
Cacheable

69
Q

do not alter the stars if the server

A

Safe Methods

70
Q

exhibit idempotency

A

Idempotent Methods

71
Q

property of certain operations such that they can be applied several times without changing the result of the initial

A

Idempotency

72
Q

Only Cacheable Methods

73
Q

3-digit code found in the first line of HTTP response Messages

A

HTTP Status Codes

74
Q

includes next to status code

A

reason Phrase
status message

75
Q

status codes groups

A

100-199 - Informational
200-299 - Success
300-399 - Redirection
400-499 - Client Error
500-599 - Server Error

76
Q

200

77
Q

201

78
Q

300

A

Multiple Choices

79
Q

301

A

Moved Permanently

80
Q

302

81
Q

304

A

Not Modified