Q1)Idempotent information or status about each communications partner for

Q1)Idempotent stands for a HTTP method that can be called many times without different outcomes.

Proxy caching stores copies of fruquently visited web objects and serve this information to users on demand.When a new visitor comes to the website, the website will return a different answer than before.Whenever the visitor counter changes, the proxy will have to get new information from the website.

Best services for writing your paper according to Trustpilot

Premium Partner
From $18.00 per page
4,8 / 5
4,80
Writers Experience
4,80
Delivery
4,90
Support
4,70
Price
Recommended Service
From $13.90 per page
4,6 / 5
4,70
Writers Experience
4,70
Delivery
4,60
Support
4,60
Price
From $20.00 per page
4,5 / 5
4,80
Writers Experience
4,50
Delivery
4,40
Support
4,10
Price
* All Partners were chosen among 50+ writing services by our Customer Satisfaction Team

Q2)HTTP is a stateless protocol, that the connection between the browser and the server is lost once the transaction ends. In other word, the server will forget everything related to client/browser state. Because a stateless protocol does not require the serer to retain session information or status about each communications partner for the duration of multiple requests.advantages: It doesn’t have to keep or store the user’s information.disadvantages: It is necessary to include additional information in every request.Q3)Since HTTP is stateless as mentioned before, it holds no information of a user’s items in shopping basket.

That’s why such sites are hard to be built without cookies. Cookie is a small piece of data sent from a website and stored on the user’s computer by the user’s web browser while the user is browsing. When a user loads the page the piece of data is sent back to the website. And the user can view the items added to his cart.

Q4)SiteEndpointHTTP methodResponse formatResponse codeSpotifyhttps://api.spotify.com/v1/albums/{id}GETJSON403 “Forbidden” To deny access to the requested resource by the client.Twitter/1.1/search/tweets.json?q=from%3ANasa%20OR%20%23nasaGETJSON503 “Service Unavailable” When servers are up, but overloaded with requestsQ5)HTTP-Methods ?GET, POST, PUT, DELETE, OPTIONS Origin ?*Q6)Content-Type ?application/json yes. Because JSON uses lists of values in array, vector or sequence.

It has readable syntax and direct data structure.Q7)When we introduced a syntax error, the terminal stopped, and displayed “SyntaxError: invalid syntax” We added “reloader=True” in run, but we had to refresh the page to see the changes.Q8)HTML table : Easy to view it, loop through it, etc. And when you want to replace a full portion of a page with what comes back from the Ajax request.JSON format : More compact, light weight, flexible and can be easily parsed and loaded in JavaScript.