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兩種情況