我需要将 api 结果作为纯文本检索,我将解析格式错误的 json,但是 response.text() 在这种情况下不起作用:
client.fetch("POST", path, headers, data)
.then(response => {
console.log(response.text());});
我需要将 api 结果作为纯文本检索,我将解析格式错误的 json,但是 response.text() 在这种情况下不起作用:
client.fetch("POST", path, headers, data)
.then(response => {
console.log(response.text());});