const response = await fetch("remote_url");
const text = await response.text();
//or
const json = await response.json();
以上两个方法用于或者文本/JSON两种情况
const response = await fetch("remote_url");
const text = await response.text();
//or
const json = await response.json();
以上两个方法用于或者文本/JSON两种情况