I use the same scenario as you and use PUT for it. You have to ask yourself: “when I send the same request twice, does this make a different state on server?” If yes, use POST, if no use PUT.
I use the same scenario as you and use PUT for it. You have to ask yourself: “when I send the same request twice, does this make a different state on server?” If yes, use POST, if no use PUT.