While designing our APIs, we often need to make a decision, which method do we’d like to choose to create a new resource on the server.
Will it be POST or PUT?
But hey, wait a minute, there’s still a PATCH method. Will it be suitable for this purpose?
In this short text, I’m going to go through all these methods and show you what are the best use cases for each of them.