JS Learning Summary----URL and HTTP Basics

Source: Internet
Author: User
Tags file transfer protocol server port

Uri/url/urn

URI = Url+urn Uniform Resource Identifier (Unified resource information)

URL: Uniform Resource Locator

->http://v.qq.com:80/index.html?name=zhangsan&age=7#bbs

http: Transport protocol-Client to server-side content and server-side delivery to the client's content is transmitted through the HTTP transport protocol (we can interpret HTTP as Courier brother)

V.qq.com: Domain Name

80: Port number

Index.html: Request resource file name, tell the server who I need to request resource files

? Name=zhangsan&age=7:url question mark to the server-side content (the client can pass some values to the server side, and the server can still pass some content to the client)

#bbs: Hash of URL (anchor location)

Transport protocol:

HTTP: Hypertext Transfer Protocol, in addition to the transmission of text can also transfer other things, such as: XML, etc.

HTTPS: More Secure HTTP

FTP: File Transfer Protocol (applied to transfer project source files to the server)

Without specifying a server port, each protocol will have a default address for the port to be found

HTTP defaults to port 80 for server

HTTPS defaults to 443 port for server

FTP will find the server's port 21 by default

URN: Uniform Resource Name

JS Learning summarizes the basics of----URLs and HTTP

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.