Question discussion

Which HTTP method is defined as idempotent and is used to replace a resource completely at a given URL?

903Medium DSSSB TGT Computer Science 0 replies 1 views
0

Which HTTP method is defined as idempotent and is used to replace a resource completely at a given URL?

  • APATCH
  • BPUT
  • CCONNECT
  • DPOST
Correct answer: B

Explanation

PUT replaces the target resource with the supplied representation, and repeating it gives the same result (idempotent).

Discussion 0

Nobody has replied yet. Start the discussion!