Share & grow the world's knowledge!
REST API should revolve around resources/objects, so the endpoint should look something like:
/companies/321/departments/567
Then you have the method which determines what you’re doing to the resource, like:
GET (to read), POST (to create), PUT (to update), and DELETE (to delete).
Copyright © 2025 AnswerCult
Latest Answers