SOFTWARE ENGINEERING

SOFTWARE ENGINEERING TOOLS AND ENVIRONMENTS

AUTOMATED TESTING TOOLS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Choose the correct answer
A
PUT:The PUT method is used to update information on a server. POST:The POST method is used to submit data to a server.
B
POST:The POST method is used to to update information on a server. PUT:The PUT method is used to submit data to a server.
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -PUT method is used to update resource available on the server. Typically, it replaces whatever exists at the target URL with something else. You can use it to make a new resource or overwrite an existing one.

Detailed explanation-2: -We use POST to create a new resource. A POST request requires a body in which you define the data of the entity to be created. A successful POST request would be a 200 response code.

There is 1 question to complete.