APPLICATION LAYER
CLIENT SERVER PARADIGM
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
GET
|
|
POST
|
|
PUT
|
|
DELETE
|
Detailed explanation-1: -S.N. The GET method is used to retrieve information from the given server using a given URI.
Detailed explanation-2: -A POST request is used to send data to the server, for example, customer information, file upload, etc. using HTML forms.
Detailed explanation-3: -The HTTP GET method retrieves a resource representation. It is safe and idempotent. Repeated GET requests do not change any resources. The HTTP PUT method is often used to update resources or to create a new entity at a known URL.
Detailed explanation-4: -GET is an HTTP method for requesting data from the server. Requests using the HTTP GET method should only fetch data, cannot enclose data in the body of a GET message, and should not have any other effect on data on the server.