axios.get("https://data.cityofnewyork.us/resource/xxxx-xxxx.json") .then(response => { console.log(response.data); }) .catch(error => { console.log(error); });
上一篇:Axios.get返回的是纯HTML而不是JSON返回数据。
下一篇:Axios.get没有返回任何数据。