Which of the following HTTP methods is used to retrieve data from a server without affecting the resource?
A. PUT
B. GET
C. POST
D. DELETE
Answer: Option B
Solution (By JKExamLibrary)
The GET method requests data from a specified resource and should not have any side effects (idempotent). POST is for sending data, PUT for updating, DELETE for removing.
No comments yet. Be the first to start the discussion!