Question
Which of the following HTTP methods is idempotent and
used to completely replace a resource on the server?ÂSolution
The HTTP PUT method is idempotent, meaning that making the same request multiple times will result in the same outcome. It is used to completely replace a resource on the server with the provided data. If the resource does not exist, PUT can create it. However, subsequent PUT requests with the same data will not change the state of the resource, ensuring idempotency. Why Other Options are Incorrect: A) GET: The GET method is idempotent but is used to retrieve data, not replace it. B) POST: The POST method is not idempotent, as multiple requests can result in the creation of multiple resources. D) DELETE: While DELETE can be idempotent (deleting the same resource multiple times has no additional effect), it does not replace a resource. E) PATCH: The PATCH method is not idempotent and is used for partial updates to a resource, not complete replacement.
According to the United Nations World Economic Situation and Prospects Report, India’s economy, the largest in the South Asian region, is expected to ...
17th Edition of Indo-_____ Joint Military Exercise “Ex Yudh Abhyas 2021” was conducted in Joint Base Elmendorf Richardson, Alaska in October...
Which bank has committed to an investment of ₹49.99 crore in Canpac Trends Private Limited, based in Ahmedabad?
Consider the following statements about Camelids:Â
1.   United Nations recently declared 2025 the International Year of Camelids.    ...
Under the Namo Drone Didi Scheme, what percentage of the drone cost is subsidized, and what is the maximum subsidy amount available per drone?
Netweb Technologies has partnered with _________Â to enhance artificial intelligence (AI) infrastructure in India and make high-end computing applicati...
The National Workshop on Multidimensional Poverty Index (MPI) in September 2025 was chaired by whom?
Recently central government had announced to provide collateral-free loans to which among the following under Credit Guarantee Scheme (CGSS)?
Which Indian entity received the GEEF Global WaterTech Award 2024 under the category ‘Water Department of the Year’? Â
Ali Akbar Khan, a renowned Indian musician, was associated with which musical instrument?