3 ms·
Wouldn't you want to do a POST for creating the first counter and then a PUT for updates?
by sgarman 13y ago
Wouldn't you want to do a POST for creating the first counter and then a PUT for updates?
- smoyer 13y agoYes ... And to address one of the comments above, PATCH is used to merge data into an existing record while PUT is used to replace the existing contents. This is a bit of an odd case since you wouldn't be sending data in either case.