Middle
What happens if you try to modify a resource that does not exist yet using PUT and PATCH methods?
sobes.tech AI
Answer from AI
PUT: Creates a new resource at the specified URI. The request body will be used as its content.
PATCH: Returns a 404 Not Found status, as the update operation implies the existence of an existing resource.