Web Fundamentals · Flashcard

Which HTTP method is intended to retrieve a representation of a resource?

  • AThe GET method requests data from the server
  • BThe PUT method requests data from the server
  • CThe POST method requests data from the server
  • DThe HEAD method requests data from the server

Why this is the answer

GET is the standard method for retrieving resource representations without side effects. PUT replaces a resource rather than reading it.

Official docs
Study in Gnoseed →