I need to consume a REST service that returns binary data. I need, using phonegap, to get this data and write it in a file. Is there any way I can get a blob as as the content of the HttpClient response?
This should just work. The content property of the response will hold the binary data, which you can construct to a Blob or Uint8Array or whatever you need.
Hi,
I need to consume a REST service that returns binary data. I need, using phonegap, to get this data and write it in a file. Is there any way I can get a blob as as the content of the HttpClient response?