4 ms·
My rule of thumb: if you know the ID of the resource you’re creating, it’s a PUT. If the system generates the ID, then it’s a POST.
by blowski 3y ago
My rule of thumb: if you know the ID of the resource you’re creating, it’s a PUT. If the system generates the ID, then it’s a POST.
- treve 3y agoMore generally the URI instead of the ID.
- SgtBastard 3y agoThe I in URI, stands for Identifier...