"HTTP protocol and JSON"
1. HTTP protocol
Features are as follows:
(1) Support client/server mode.
Simple and fast: When a customer requests a service from the server, it simply transmits the request method and path. The request method commonly has get, POST. Each method specifies a different type of contact between the customer and the server. Because the HTTP protocol is simple, the HTTP server's program size is small, so the communication speed is fast.
(2) Flexible: HTTP allows the transfer of any type of data object. The type being transmitted is marked by Content-type.
(3) No connection: restricts the processing of one request per connection. When the server finishes processing the customer's request and receives the customer's answer, the connection is disconnected. In this way, transmission time is saved.
(4) Stateless: The protocol has no memory ability to deal with things. A lack of state means that if the previous information is required for subsequent processing, it must be re-routed, which may cause the amount of data to be transferred per connection to increase. On the other hand, it responds faster when the server does not need the previous information.
"Django" "Five" development web interface