DevNet Associate DEVASC 200-901 Official Certification Guide by Adrian Iliesiu (z-lib.org)
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 req ...
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 ...
G ET R EA D Used to retrieve resource details from the system. Example: Get a list of all the rooms or all the details of one ro ...
Figure 7-8 Syntax of a GET Request GET: The keyword GET must be all uppercase. Request URI: Specifies the path of the resource r ...
Figure 7-9 Syntax of a POST Request POST: The keyword POST must be all uppercase. Request URI: Specifies the path of the resourc ...
In addition, HTTP headers have information about HTTP connection types, proxies, and so on. Most of these headers are for managi ...
Click here to view code image Content-Type: text/html Content-Length: 35 Connection: Keep-Alive Keep-Alive: timeout=15, max=100 ...
Table 7-4 describes some commonly encountered status codes. Table 7-4 HTTP Status Codes Status CodeMeaningExplanation 1 0 0 Con ...
0 0 req uest request; there is probably a syntax error in the request message. 4 0 1 Aut hen ticat ion req uire d The requested ...
imp lem ente d 5 0 2 Bad gate way The proxy or gateway indicates that it received a bad response from the upstream server. 5 0 3 ...
Extensible Markup Language (XML) is a markup language that encodes information between descriptive tags. XML is a superset of Hy ...
JSON, short for JavaScript Object Notation, is pronounced like the name “Jason.” The JSON format is derived from JavaScript obje ...
}, { "desk": true }, { "lights": "On" } ] }} YAML YAML is an acronym that stands for “YAML Ain’t Markup Language.” According to ...
rooms: living_room: 'true' kitchen: 'false' study_room: size: 20x30 desk: true lights: 'On' Webhooks Webhooks are user-defined ...
Figure 7-10 Webhook Validation and Event Flow Tools Used When Developing with Webhooks You will face a particular difficulty whe ...
Figure 7-11 is a sequence diagram for the example we’ve been looking at, where a user wants to get list of all rooms in the hous ...
https://www.ics.uci.edu/~fielding/pubs/dissertation/to p.htm). They generalize the web’s architectural principles and represent ...
subsequent requests to the same server. The servers can be further load balanced as necessary. Cache With REST services, respons ...
verbose and include the method, the protocol used, and the content type. This enables each message to be independent. Hypermedia ...
Content negotiation: This strategy allows you to version a single resource representation instead of versioning an entire API, w ...
«
11
12
13
14
15
16
17
18
19
20
»
Free download pdf