7900 shaares
161 private links
161 private links
- Use Nouns to represent resources / Not Verbs
- Use Pluralized Nouns for resources
- Use hyphens (-) to improve the readability of URIs
- Use forward slashes (/) for hierarchy but not trailing forward slash (/)
- Avoid using file extensions
- Version your APIs:
http://api.example.com/v1
- Use query component to filter URI collection:
http://api.example.com/v1/store/employees?department=IT®ion=USA