DEV Community

Discussion on: Explain the difference between PATCH and PUT Like I'm Five

Collapse
 
alchermd profile image
John Alcher • Edited

It's raining hard. Your roof has holes.

You patch it. Its still the your roof, just slightly different.

You ditch the roof and put another one. It's still your roof, but totally replaced.

Edit: grammar

Collapse
 
sudiukil profile image
Quentin Sonrel

Nice example! Thanks :)

Collapse
 
aishwaryapatwardhan profile image
AISHWARYA PATTWARDHAN

hmm nice way to PUT it !