For example let's say I have employees and restaurant resources:
Employee {ID, Name, Gender, Birthday} exposed to GET\POST\PUT\DELETE
Restaurant {ID, Name, Address, Business_Number} exposed to GET\POST\PUT\DELETE
Also, I have many to many resources:
Restaurant_Has_Employee {ID, Employee_ID, Restaurant_ID, Employee_Work_In_Restaurant}
So the question is, what is the best practise to expose GET\POST\PUT\DELETE to this resource?