Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

PUT vs. PATCH clarification #124

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions book/CH02_ComponentsOfAHypermediaSystem.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,10 @@ There are many methods available in HTTP; the ones of most practical importance
A POST request submits data to the specified resource. This will often result in a mutation of state on the server.

`PUT`::
A PUT request replaces the data of the specified resource. This results in a mutation of state on the server.
A PUT request replaces all the data of the specified resource. This results in a mutation of state on the server.

`PATCH`::
A PATCH request replaces the data of the specified resource. This results in a mutation of state on the server.
A PATCH request replaces some of the data of the specified resource. This results in a mutation of state on the server.

`DELETE`::
A DELETE request deletes the specified resource. This results in a mutation of state on the server.
Expand Down