My console show this
How can I only console.log the [[ PromiseResult ]], only the text value!
here is my code
fetch('/upload', {
method: 'POST',
body: data
}).then(response => {
console.log(response.json())
})
My console show this
How can I only console.log the [[ PromiseResult ]], only the text value!
here is my code
fetch('/upload', {
method: 'POST',
body: data
}).then(response => {
console.log(response.json())
})