Rest api help - voting app

Rest api help - voting app
0.0 0

#1

Working on voting app - I gather should use PATCH, PUT, DELETE, etc. What do you use for a partial update, read alot of stuff, don’t all agree.


#2

yes I know what you mean. I like this answer, it has a few votes:

So

Do you name your URL objects you create explicitly, or let the server
decide? If you name them then use PUT. If you let the server decide
then use POST.