Upload picture from camera plugin to Cloudinary in Ionic 2

How could I upload picture from cordova plugin camera?
Camera.getPicture() to Cloudinary in Ionic 2.

All the samples I found are for Ionic 1, I tried to adapt but didn’t get it to work.


@songrit I’m sorry no one responded to your ionic2 upload-to-cloudinary question… were you able to figure it out? If so, can you please share with me how you figured it out, cuz I’m running into the same issue! :frowning:

In my case it’s the issue of space, somehow the base64 picture I got contains blank spaces in the data. So I just replace all blank spaces with ‘+’ before POST to Cloudinary fix my problem.

I think this link will helpful.