nerdexam
SOA

S90-02A · Question #39

Which of the following are valid HTTP methods? SELECT ALL THAT APPLY

The correct answer is A. Get C. Put D. Delete. GET, PUT, and DELETE are all standard HTTP methods defined in the HTTP/1.1 specification (RFC 7231). GET retrieves a resource, PUT creates or replaces a resource at a specific URL, and DELETE removes a resource - these three, along with POST, PATCH, HEAD, and OPTIONS, form the…

Advanced Web Services and REST Services

Question

Which of the following are valid HTTP methods? SELECT ALL THAT APPLY

Options

  • AGet
  • BUpload
  • CPut
  • DDelete

How the community answered

(29 responses)
  • A
    86% (25)
  • B
    14% (4)

Explanation

GET, PUT, and DELETE are all standard HTTP methods defined in the HTTP/1.1 specification (RFC 7231). GET retrieves a resource, PUT creates or replaces a resource at a specific URL, and DELETE removes a resource - these three, along with POST, PATCH, HEAD, and OPTIONS, form the core HTTP method vocabulary.

Upload (B) is not an HTTP method. Uploading files is typically accomplished using POST or PUT - "Upload" is a colloquial term for the action, not a protocol-level method.

Memory tip: Think of the acronym GPPD - Get, Post, Put, Delete - as the four most common HTTP methods. Any option that sounds like a generic English action word (like "Upload" or "Download") rather than a terse verb is almost certainly not a real HTTP method.

Topics

#HTTP methods#GET#PUT#DELETE

Community Discussion

No community discussion yet for this question.

Full S90-02A Practice