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

Commit

Permalink
PUT/PATCH clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
mvolkmann committed Jan 10, 2024
1 parent 1a0ee1e commit 8ea4d80
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 8ea4d80

Please sign in to comment.