|
What’s the difference between PUT and PATCH in a REST API? |
Answered by
vgartg
May 29, 2026
Replies: 2 comments
|
PUT replaces the entire resource with the new data you send, while PATCH only updates the fields you specify, leaving the rest unchanged. |
0 replies
Answer selected by
tirexxic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PUT replaces the entire resource with the new data you send, while PATCH only updates the fields you specify, leaving the rest unchanged.