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

(andrew) #1
T
R
A
C
E

A client can use a TRACE request to ask a server to
return a diagnostic trace of the actions it takes.

O P T I O N S
A client can use an OPTIONS request to ask a server to
return a list of the request methods it supports.

C O N N E C T
A client can use a CONNECT request to tell a proxy to
make a connection to another host and simply reply with
the content, without attempting to parse or cache it. This
request is often used to make SSL connection through
the proxy.

REST Methods and CRUD


As you have seen, REST is an architectural paradigm that
allows developers to build RESTful services. These
RESTful applications make use of HTTP requests for
handling all four CRUD operations: CREATE, READ,
UPDATE, and DELETE. These four operations are the
operations most commonly used in manipulating data.
The HTTP methods map in a one-to-one way to the
CRUD operations, as shown in Table 7-3.


Table 7-3 Mapping HTTP Methods to CRUD
Operations

HTTP MethodOperationExplanation

P
OS
T

C
R
EA
TE

Used to create a new object or resource.

Example: Add new room to a house
Free download pdf