Send an OPTIONS request to inspect server capabilities.
Section: HTTP Methods and APIs
Inspect allowed methods
bash
bash
curl -X OPTIONS -i https://api.example.com/v1/itemsExplanation
Helpful for CORS and API debugging.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing HTTP Methods and APIs