Response
object and waiting for the Promise
. Type is an atom or
string that is used as method on the Response
object.
Examples are
text
, json
, html
or blob
.
The
blob
type returns the Data as a string of bytes,
i.e., character codes in the range 0 ... 255.