javascript - Can't uploading base 64 to imgur -


    up: function(req, res) {     console.log(req.param('image'));     imgurwrap.setclientid('myimgurclientid')     imgurwrap.uploadimagebase64({         image: req.param('image'),         title: 'sfdsf',         description: 'sfsdf'     }, function(err, res) {         console.log(res);         console.log(err);     }); }, 

this code returns me url empty image this: http://i.imgur.com/1cmilfl.png . if declare variable , put encoded base64 string in it, works. thought data appened in request diff showed no difference. i've tried others npm imgur modules , it's same behavior must wront on side can't figure out..