GET and POST6:21 with Dave McFarland
Learn about the two most common methods for sending requests to a web server. What is the difference between the two and when to use GET, when to use POST?
There are two common methods for sending HTTP requests:
- GET. Used for most requests. Browser uses the GET method whenever it requests a new web page, CSS file, image, and so on. Use GET when you want to "get" something from the server.
- POST. Used frequently with web forms to send data to store in a database. Use POST when sending data that will store, delete or update information from a database.
You need to sign up for Treehouse in order to download course files.Sign up