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
300
Multiple Choices
26
301
Moved Permanently
27
302
Found
28
304
Not Modified
29
400
Bad request
30
401
Unauthorized
31
403
Forbidden
32
404
Not Found
33
405
Method Not Allowed
34
410
Gone
35
413
Request Entity Too Large
36
414
Request URI Too Long
37
415
Unsupported Media Type
38
500
Internal Error
39
501
Not Implemented
40
503
Service Unavailable
41
504
Gateway Timeout
42
505
HTTP Version Not Supported
43
100
Continue
44
101
Switching Protocols
45
allows the client and server to pass additional information in request and response messages
Headers
46
Types of Headers
General Headers Request Headers Response Heaters Entity Headers
47
can be used for both request and response not necessarily describing message body
General Headers
48
only used in request messages
Request Headers
49
used to give more details about the response
Response Headers
50
details about the Server's software
Server
51
describe the content of the message body
Entity Headers
52
indicated by Values of content-type header
MIME Type
53
MIME
Multipurpose Internet Mail Extension
54
HTTP is meant to be
extensible
55
indicates the desired action for the specified resource
Method
56
Methods are sometimes called what
HTTP Verbs
57
used to get a specific resource from the server
GET
58
GET requests are meant to be
read only
59
used to submit data to a server
POST
60
used for checking link validity, recent motivation or just to find out more about the resource without actually fetching it
HEAD
61
replaces the current resource in the specified path with the data in the request body
PUT
62
deletes the resource in the specified path
DELETE
63
used by the client to establish a connection to the server over a tunnel proxy
CONNECT
64
used to echo the contents of an HTTP request back to the client
TRACE
65
used to ask the server about the supported methods
OPTIONS
66
Used to apply partial modification to the data in the specified url
PATCH
67
CRUD operations
CREATE READ UPDATE DELETE
68
Characteristics of HTTP Methods
Safe Idempotent Cacheable
69
do not alter the stars if the server
Safe Methods
70
exhibit idempotency
Idempotent Methods
71
property of certain operations such that they can be applied several times without changing the result of the initial
Idempotency
72
Only Cacheable Methods
HEAD GET
73
3-digit code found in the first line of HTTP response Messages
HTTP Status Codes
74
includes next to status code
reason Phrase status message
75
status codes groups
100-199 - Informational 200-299 - Success 300-399 - Redirection 400-499 - Client Error 500-599 - Server Error
76
200
OK
77
201
Created
78
300
Multiple Choices
79
301
Moved Permanently
80
302
Found
81
304
Not Modified
82