我正在尝试通过提取方法从https://www.metaweather.com/api/获取数据,但没有得到我

时间:2020-05-04 10:16:51

标签: fetch

获取('https://crossorigin.me/https://www.metaweather.com/api/location/2487956/')

.then(result => {
    console.log(result);
})
.catch(error => console.log(error));

asynchronous.html:200 GET https://crossorigin.me/https://www.metaweather.com/api/location/2487956/净值:: ERR_NAME_NOT_RESOLVED (匿名)@异步.html:200 异步.html:205 TypeError:无法获取

0 个答案:

没有答案
相关问题