- Web Application
- Collection of web pages and resources.
- Web Pages can be static (HTML) or dynamic (processed at server)
2. HTTP Protocol
- Connection-less, state less
- request response model
2.1 HTTP Request
- From Browser to Web Server using URL.
- http://servername:port/application/webpage
2.2 HTTP Response :
- From Web Server to Browser
2.3 HTTP Request Methods
GET :
- data sent via URL (query-string)
- not secure
- send limited data (browser URL address is limited up to 2K character)
- faster
POST :
- data is sent via request body
- secure
- no data limit
- slower
HEAD :
- response only contains header not body
PUT :
- for upload/put a file on web server
DELETE :
- for delete a file on web server
TRACE :
- for tracing http req/res data
OPTION :
- to know which methods supported on server
No comments:
Post a Comment