QuestionQ23

VerifiedRest API

Which three of the following are valid REST HTTP methods?

Choose three
Explanation

The HTTP protocol, as used by REST APIs, defines a fixed set of standard methods including GET, POST, PUT, DELETE, PATCH, HEAD, and OPTIONS. GET retrieves a resource, POST creates a new resource, and PUT updates or replaces an existing resource — all of these are officially defined HTTP request methods. 'PUSH' and 'PASTE' are not part of the HTTP method specification and are not used in REST APIs.

Learn more

Community Discussion

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