Basic concepts of the network
Client: Application C/S
Servers: machines that provide services, data, and resources to clients
Request: Client requests data from server
Response: The server responds to client requests and is typically returned to client data
What is a URL
Uniform Resource Locator (Uniform Resource Locator)
Each resource in the network corresponds to a unique address-url
Basic format for URLs
Protocol://HOST Address: Port number/path
Protocol: Different protocols represent different ways of acquiring resources
Host Address: Unique identifier of the host (IP address, domain name)
Path: The exact location of the resource in the host
Common protocols for URLs
HTTP, FTP, mailto, File, tel://, sms://
What is the HTTP protocol
Hypertext Transport Protocol (Hypertext Transfer Protocol)
Conventions that the browser and Web server communicate with
The most used protocols on the Internet
Provides Hypertext transfer service
Open a Web site through a browser using HTTP provides services, development apps will often use the HTTP protocol to get data from the network
The web site that is opened by the browser uses HTTP services
Developing apps, and often using the HTTP protocol to get data from the network
ios-Network Fundamentals