Web Technology - Old Questions
4. What is HTML? Differentiate between "get" and "post" methods used to send form data.
5 marks
|
Asked in 2074
HTML (Hyper Text Markup Language) is the standard markup language for creating Web pages. It describes the structure of a Web page.
Difference between GET and POST method
GET method | POST method |
GET is used to request data from a specified resource. | POST is used to send data to a server to create/update a resource. |
Data is visible to everyone in the URL. | Data is not displayed in the URL. |
Parameters remain in browser history. | Parameters are not saved in browser history. |
GET request can be cached. | POST requests are never cached. |
GET request can be bookmarked. | POST requests cannot be bookmarked. |
GET is less secure compared to POST because data is visible in the URL. | POST is a litter safer than GET because the parameters are not saved in browser history. |
GET request may have length restrictions. | POST requests have no restriction on data length. |
GET method should not be used when sending passwords or sensitive information. | POST method used when sending password or other sensitive information. |
Only ASCII characters are allowed. | No restrictions. Binary data is also allowed. |