Html Form | GET vs POST
Some simple stuff that a lot developers may mixup / confuse about — POST vs GET.
POST and GET are the most common use FORM submittion method used in html, as long as you’re working / doing in web application; you cant runaway from it.
Here is the simple comparison:
POST
- Form data will appear within a message body.
- More functionality: retrieves, stores, updates data, makes modifications to databases, and so on.
- Not cacheable.
- Can buffer long URLs.
- Considered more secure.
GET
- Form data is encoded by the browser into a URL.
- Best used for retrieving data.
- Cacheable.
- Cannot buffer long URLs.
- Considered less secure.
References:
1. http://www.peachpit.com/guides/content.aspx?g=webdesign&seqNum=69
Leave a Reply