What is the difference between HttpQuery and IO?

Author: The bride too., Created: 2018-05-11 15:21:58, Updated:

Below are two lines of code that show the market for the various currencies that receive the yuan:

var all_tciker_bian = HttpQuery(”https://www.binance.com/api/v1/ticker/24hr”)

var all_tciker_bian = exchanges[0].IO(“api”, “GET”, “/v1/ticker/24hr”)

However, with HttpQuery there is no problem, but with IO it always returns an error, as follows: This is the first time I've seen this video.

404 Not Found


nginx

How to change, ask for guidance


Related

More

Inventors quantify - small dreams1, HttpQuery is a function used to access the web, for example to access the API interface of an exchange without signing. 2, exchange.IO The function call, which can be seen as a member function of exchange, is used to access the API interface that the exchange needs to sign.