A good practice to name a PUT request is like:
/employee/123
What if I want to replace several employees? Is it a good practice to do so in single request? If yes, then how to name the url with multiple ids?
A good practice to name a PUT request is like:
/employee/123
What if I want to replace several employees? Is it a good practice to do so in single request? If yes, then how to name the url with multiple ids?
yes, you can remove multiple employs using a single URL
you can pass multiple ids like this
/employee=[id1,id2]