DevNet Associate DEVASC 200-901 Official Certification Guide by Adrian Iliesiu (z-lib.org)

(andrew) #1

Method


HTTP defines a set of request methods, outlined in Table
7-2. A client can use one of these request methods to
send a request message to an HTTP server.


Table 7-2 Request Methods

MethodExplanation

G
E
T

A client can use a GET request to get a web resource
from the server.

H
E
A
D

A client can use a HEAD request to get the header that a
GET request would have obtained. Because the header
contains the last-modified date of the data, it can be used
to check against the local cache copy.

P
O
S
T

A client can use a POST request to post data or add new
data to the server.

P
U
T

A client can use a PUT request to ask a server to store or
update data.

P
A
T
C
H

A client can use a PATCH request to ask a server to
partially store or update data.

D E L E T E
A client can use a DELETE request to ask a server to
delete data.
Free download pdf