My Restful API Specification
· β 2 min read
Mainly for standardizing the APIs I write myself, and also to help LLMs understand my APIs better.
1. Domain Use a dedicated domain whenever possible, for example api.example.com. 2. Path Always use lowercase letters. Do not include an /api prefix. Do not include file extensions. Do not put / at the end.