Traditional Culture Encyclopedia - Weather forecast - The difference between REST and HTTP

The difference between REST and HTTP

For example, if you want to get weather information now, because it is unpredictable, you have to get it from the server of the Meteorological Bureau. The server of the Meteorological Bureau may be a WebService built with the application framework of Rest or other network services. You only need to visit the website and send a message to the server, and the server can return the corresponding information (the information here may be JSON or XML data, which needs to be parsed if needed), so that you can also use more professional and authoritative data in your program, and the transmission mode may be tcp or XML. Rest is applied on the server, and http is applied between the server and the visitor, which is the method of exchanging data between the client program and the server. Of course it's different.