.json()
.blob()
.arrayBuffer()
modern async await fetch
const res = await fetch(url, { method: 'POST', headers: { Accept: "application/json", 'Content-Type': 'application/json' }, body: JSON.stringify({}) }) const buffer = await res.arrayBuffer()
.json()
.blob()
.arrayBuffer()
const res = await fetch(url, { method: 'POST', headers: { Accept: "application/json", 'Content-Type': 'application/json' }, body: JSON.stringify({}) }) const buffer = await res.arrayBuffer()