KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In my API server I have this route defined: POST /categories To create one category you do: POST /categories {"name": "Books"} I thought that if you want to create multiple categories, then you could do: POST /categories [{"name": "Books"}, {"name": "Games"}] I just wanna confirm that this is a good practice for Restful HTTP API. Or should one have a POST /bulk for allowing them to do whatever operations at once (Creating, Reading, Updating and Deleting)?
Tags (comma-separated)
Save Edits
Cancel