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