I am designing a rest api in which I need to add tags to an entity. The entity is created using POST /content
where the json data is passed in the request body. I want to allow adding tags while the POST
request is being made, and also later on. This is what I have.
POST /content?tag=foo&tag=bar
PUT /content/{id}?tag=baz&tag=bat
Now, how do I allow deleting tags? What would be a better approach>