S90-02A · Question #63
Which of the following statements makes sense? Select the correct answer.
The correct answer is A. I have 3 REST services, 2 of which do not support the PUT method. Option A is correct because REST services are built on HTTP but are not required to implement every HTTP method - it's perfectly valid for some services to omit PUT (e.g., if they don't support resource updates). Option B is nonsensical because SOAP headers belong to the SOAP…
Question
Which of the following statements makes sense? Select the correct answer.
Options
- AI have 3 REST services, 2 of which do not support the PUT method.
- BI have 3 REST services, 2 of which have a PUT operation in the SOAP header schemas of their
- CI have 3 REST services, 2 of which do not support HTTP.
- DNone of these statements make sense.
How the community answered
(21 responses)- A76% (16)
- B5% (1)
- C14% (3)
- D5% (1)
Explanation
Option A is correct because REST services are built on HTTP but are not required to implement every HTTP method - it's perfectly valid for some services to omit PUT (e.g., if they don't support resource updates). Option B is nonsensical because SOAP headers belong to the SOAP protocol, which is entirely separate from REST; REST services communicate via plain HTTP and have no SOAP envelope or header schemas. Option C is self-contradictory because REST is defined as an architectural style that runs over HTTP - a service that doesn't support HTTP cannot, by definition, be a REST service.
Memory tip: Think of REST as "married to HTTP" - it can choose which HTTP methods (GET, POST, PUT, etc.) to support, but it can never divorce HTTP itself. Anything mixing REST with SOAP concepts is always a trap answer.
Topics
Community Discussion
No community discussion yet for this question.