Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews TCP/IP Protocols Interviews:Application LayerFTPHypertext Transfer Protocol (HTTP)Internet Message Access Protocol (IMAP)Internet Protocol (IP) AddressMobile IPNetworking ProtocolsPOP / POP3Secured Socket Layer (SSL)SMTPSNMPSOAPSpanning Tree Protocol (STP)SS7TCP LayerTCP/IPUDPWAP
Copyright © 2018. All Rights Reserved
Hypertext Transfer Protocol (HTTP) Interview Question:
What is the mean of PUT?
Submitted by: MurtazaA PUT request is used when you wish to create or update the resource identified by the URL. For example,
1 PUT /clients/robin
might create a client, called Robin on the server. You will notice that REST is completely backend agnostic; there is nothing in the request that informs the server how the data should be created - just that it should. This allows you to easily swap the backend technology if the need should arise. PUT requests contain the data to use in updating or creating the resource in the body. In cURL, you can add data to the request with the -d switch.
1 curl -v -X PUT -d "some text"
Submitted by: Murtaza
1 PUT /clients/robin
might create a client, called Robin on the server. You will notice that REST is completely backend agnostic; there is nothing in the request that informs the server how the data should be created - just that it should. This allows you to easily swap the backend technology if the need should arise. PUT requests contain the data to use in updating or creating the resource in the body. In cURL, you can add data to the request with the -d switch.
1 curl -v -X PUT -d "some text"
Submitted by: Murtaza
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.