Lecture_Session_quiz.md - brainchildservices/curriculum GitHub Wiki

  1. What is GET Request ?

    GET Request is generally used to get data from the web server.

  2. What is POST Request ?

    POST Request is generally used to submit data to the server.

  3. When GET request is generally issued ?

    • When you click on a hyperlink
    • GWhen Response.Redirect() statement is executed
    • When you type URL in the address bar and hit enter
  4. When POST request is generally issued ?

    • When you click on a submit button
    • When AUTOPOST back is set true and when a selection in the Dropdown List is changed
  5. Difference between GET and POST method ?

    • GET method appends data to the URL, where as with the POST method data can either be appended to the URL or in the message body.
    • As GET request rely on querystrings to send data to the server, there is a length restriction, where as POST requests have no restrictions on data length.
    • While it is possible to change the state of data in database using GET request, they should only be used to retrieve data.
⚠️ **GitHub.com Fallback** ⚠️