HTTP:
Hypertext Transfer Protocol is a standard for client and server-side requests and responses!
1, support customer, server mode
2. Simple and fast: When a customer requests a service from the server, it simply transmits the request method and path
3. Flexible: HTTP allows the transfer of any type of data object
4, no connection: The meaning of no connection is to limit the processing of only one request per connection
5. Stateless: Protocol has no memory ability for transaction processing
HTTPS:
is a network protocol built by the SSL+HTTP protocol that can be encrypted for transmission, authentication, and security over the HTTP protocol.
The difference between HTTP and https:
1. The URL for HTTP starts with/HTTP, and the URL for https starts with https://
2.HTTP is not secure, HTTPS is safe
The 3.HTTP standard port is 80, while the HTTPS standard port is 443
4. Flexible
5.HTTP cannot be encrypted, while HTTPS encrypts transmitted data
6.HTTP No certificate required, and HTTPS requires an SSL certificate from the CA authority
The HTTP protocol is restful:
Restfule: A software architecture style. It is primarily used for client and server interaction classes of software. Based on this style of design software can be more concise, more layered, more
Mechanisms such as caching are easy to implement.
HTTP verbs:
1.GET (SELECT): Remove resources from the server (one or more items).
2.POST (Create): Creates a new resource on the server.
3.PUT (UPDATE): Updates the resource on the server (the client provides the full resource after the change).
4.PATCH (UPDATE): Updates the resource on the server (the client provides changed properties).
5.DELETE (delete): Deletes a resource from the server.
HTTP and HTTPS