4.5.2. OPTIONS
4.5.2. OPTIONS
The OPTIONS method is used to discover what methods and other features are supported by a resource.
Applications SHOULD support OPTIONS on all resources, returning appropriate information about the allowed methods and other capabilities. This helps clients understand what they can do with a given resource.
However, note that some HTTP features (most notably Cross-Origin Resource Sharing, or CORS [FETCH]) use OPTIONS in specific ways. Applications using OPTIONS need to be aware of how it might be used by clients.