- Conditionally route requests (if/else, switch, regex, URLPattern)
- Different responses, Different requests
- Split up our Server code by function
- URL -> Uniform Resource Locater
- different parts of a url is shown below image
- DNS -> Domain Name System
- IP -> Internet Protocol
- HTTP/HTTPS
- TCP/UDP
- IP
- ...many more
NB: All the above images were collected from Tech with Nader's rest-api tutorial