📜  以文本而不是 pdf 形式接收响应 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:45.507000             🧑  作者: Mango

代码示例1
fetch(`api` + guid, {
   method: "GET",
   headers: {
    "Accept": "application/octet-stream",
    "Authorization": "Bearer " + token,
   },
   // responseType: 'arraybuffer' //#1 remove this,
})