API and REST API
- Application Programming Interface (API)
- In web: REST API
- Expose a set of HTTP routes
- Use HTTP verbs (GET / POST / PUT / DELETE)
- Client connects to communicate
- Usually communicating in JSON
REST API example: https://petstore.swagger.io/