Which HTTP method below is used to update a resource with new values?
POST
PATCH
PUT
The PATCH method does update a resource with a new value. The POST method creates a new resource. The PUT method replaces a resource with a new one.