Which of the following HTTP methods is designed to retrieve data safely from a specified web resource without causing any side effects or modifications on the server? MCQ with Answer and Explanation
Which of the following HTTP methods is designed to retrieve data safely from a specified web resource without causing any side effects or modifications on the server?
A. DELETE
B. GET
C. PUT
D. POST
Answer: Option B
Solution (By JKExamLibrary)
The GET method is used strictly to request and fetch data from a designated resource without changing the state of that resource on the server.
Explanation:
WebSocket enables two-way interactive communication between a client and server over a single persistent connection, unlike HTTP which is half-duplex.
No comments yet. Be the first to start the discussion!