Form Processing

When you need to pass some data from browser to the web server you may choose to use one of the HTTP request methods.

  1. Get
  2. Post

Get VS Post

Get Post
Only ASCII allowed ASCII and Binary
Data is visible in the URL Data is NOT visible in URL
Maximum URL length is 2048 characters Practically no limit
Idempotent Repeated request would change the state
Browser can cache a get request Post request data is NOT cached in browser

Leave a comment

Your email address will not be published. Required fields are marked *