I'm writing a REST API in PHP and I can't find any resources explaining how to work with OPTIONS. It seems to be an important part of REST API's, that's about how much I've found.
Can anyone explain what OPTIONS should contain and how it should be formatted?
Thanks in advance.