Think like an API user
Design from the needs of the people who will call it.
Learn
- Who uses the API and for what
- Resources, names and clear URLs
- HTTP methods and status codes used correctly
- Consistent field names and formats
Tools
- A notes document
- Postman or a similar tool
- Examples of good public APIs
Build
- Write the use cases and resource list for a small service
- Review a public API and list three things it does well
CheckpointA new developer can guess how to call a second endpoint after using the first.