darkbcx
06/22/2017, 1:11 PMfetch('<https://api.graph.cool/file/v1/cj3rp40vd64ho0113z6fynxxm>', {
method: 'POST',
body: data
}).then(response => {
console.log(JSON.stringify(response, null, 2))
return response.json()
}).then(file => {
console.log(file);
}).catch(err => {
console.log('err : ', err);
})nilan
06/22/2017, 1:11 PMdata 🙂darkbcx
06/22/2017, 1:13 PMconst data = new FormData();
data.append('data', strBase64, 'test.png');darkbcx
06/22/2017, 1:14 PMImageSource object. so i convert it to base64 stringagartha
06/22/2017, 3:22 PM