When creating an API for a blog, which method should be used to ensure the client can discover the allowed HTTP methods for a resource?
- OPTIONS
- GET
- DISCOVER
- DESCRIBE
To enable clients to discover the allowed HTTP methods for a resource in an API, the OPTIONS method should be used. The server responds with information about the communication options for the target resource, allowing clients to determine which methods are supported.
Loading...
Related Quiz
- Integration testing in a CI/CD pipeline often requires _______ to automate test processes.
- The _______ element in WSDL defines the operations offered by the service.
- What primary function does an API Gateway perform in a microservices architecture?
- In a scenario where a SOAP service needs to handle high-volume transactions, what architectural element is most critical?
- In a scenario where a web service handles sensitive data, what TLS feature should be prioritized to prevent data breaches?