Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools REST API Basics Getting the REST You Need Endpoints

Isn't the PUT method used as PATCH???

Seeing to update resources... wouldnt it be PATCH instead of PUT?

1 Answer

Henrik Reponen
Henrik Reponen
475 Points

Usually PUT is used to make a full replace of the specified resource and PATCH is used for partial modifications. It is beneficial to provide both in an API.