Which HTTP method below is used to replace a resource with a new one?
POST
PATCH
PUT
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.