Working of Websites
How do you access a website?
- Open Web browser
- Enter URL
- Browser fetches data from the server.
- Browser renders the response received from server.
What does a URL looks like?
URL: https://google.com/search?q=hello+there
Components of a URL
- Protocols:
http & https (in context of accessing web through browsers)
- Host: Domain/IP
- Port
- URI (path): Uniform Resource Identifier
- Query String: Request Parameters
What happens when you enter a URL in the browser?