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 trialTarek H
176 PointsIn simple words. What's the difference between GET/POST?
As far as i know that GET is to view a resource while POST you can view and modify?
1 Answer
Steven Parker
231,268 PointsYou're talking about the conventional ways they are used, and you're right but that's really dependent on the server coding.
The main difference about how the messages themselves work is that in a GET, all data is attached to the URL as a "query string"; and in a POST the data is contained in the messaage body.