QuestionQ1023

IP Services

When is the PUT method used within HTTP?

  • A to update a DNS server
  • B when a nonidempotent operation is needed
  • C to display a web site
  • D when a read-only operation is required
Explanation

The HTTP PUT method is used to create or update a resource on a server. It is idempotent, meaning multiple identical requests produce the same result. PUT is not used for read-only operations (which use GET) or for non-idempotent operations (which use POST or PATCH).

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!