ladjs/frisbee

How download a image with Frisbee?

dwitmexico opened this issue · 0 comments

`var api = new Frisbee({
baseURI: ''
headers: {
'Accept': 'application/json',
'Content-Type': 'image/png'
}
});

// this is a simple example using `.then` and `.catch`
api.get('https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=JordiCampRubiHoms').then(console.log).catch(console.error);`

I can't see the image.
How works?