Core: learn it Step 9 of 16 on the Full-Stack Developer roadmap

Designing endpoints

Name endpoints after resources, like /api/bookings/, and use HTTP methods for the actions. Keep the response shapes predictable so the frontend code stays simple.

Resources

More in Building a REST API

See it on the Full-Stack Developer roadmap