MAD 2 Midterm Reviewer | JSON
1. Less Verbose 2. Faster 3. Readable 4. Structure Matches the data
Advantages of JSON
1. Not fully secure 2. Limited in terms of supported datatypes
Disadvantages of JSON
1. GET 2. POST 3. PUT 4. HEAD 5. DELETE 6. PATCH 7. OPTIONS
HTTP Request methods
1. Data is in key value pairs 2. Keys must be strings, written in double quotes 3. Commas are used to separate data 4. Curly braces are used for objects 5. Square brackets are used to declare an array
JSON Rules
JavaScript Object Notation
JSON stands for ______________-
Hypertext Transfer Protocol
WHAT IS the meaning of HTTP
JSON
a lightweight format for storing and transporting data
HEAD method
almost identical to GET , but without the response body
DELETE method
delete a specified resource
OPTIONS
describes the communication options for the target resource
HTTP
designed to enable communications between clients and servers - it works a a request-response protocol between client and server
JSON
often used when data is sent from a server to a webpage
JSON
self describing and easy to understand
CONNECT
this method starts two way communication with the requested resource. it can be used to open a tunnel - it is a hop by hop method
GET Method
used to request data from specified source one of the most common HTTP methods
POST Method
used to send data to a server to create/update a resource
PUT method
used to send data to a server to create/update a resource; requests are idempotent