How to handle business rules with a REST API?
- by Ciprio
I have a REST API to manage a booking system
I'm searching how to manage this situation :
A customer can book a time slot :
A TimeSlot resource is created and linked to a Person resource. In order to create the link between a time lot and a person, the REST client send a POST request on the TimeSlot resource
But if too many people booked the same…