Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

blob to text javascript

<RESPONSE PROMISE>
.then(r=>r.blob())
.then(r=>{
console.log(r.type)
return new Response(r)
})
.then(r=>
 r.text()
)
.then(console.log)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #blob #text #javascript
ADD COMMENT
Topic
Name
6+4 =