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

Ruby Build a Rails API Introduction to REST REST Requests

POST is to Update a resource or Create?

At 00:16 the author starts by saying POST is to Update a resource and PUT is to Create, but from 02:05 onwards she kept on saying/showing that POST is to Create and PUT is to Update. I am confused!

2 Answers

Thanks Łukasz, I looked on google too, but I still wanted to write about it as in my opinion there's a mistake at 00:16. I hope mods/author will take note of this and correct it soon. Thanks again for contributing!

Łukasz Mikołajczak
Łukasz Mikołajczak
2,654 Points

POST is to create and PUT is to update.

More complex You can find it here: link