Base64 image upoload

I’m trying to upload jpg image encoded into base64 in accordance to this:
https://backendless.com/documentation/files/rest/file_save_files_from_byte_arrays.htm
Base64-encoded image looks like this:
data:image/jpg;base64,iVBORw0KGgoAAAANSUhE...
If i’ve got it correctly, i should send in request body this code without data type:
base64,iVBORw0KGgoAAAANSUhE...
I’ve also tried this:
‘iVBORw0KGgoAAAANSUhE…’
Both of this codes are successfully uploaded to the server, but both of them are broken and don’t appear as images.
request url:
https://api.backendless.com/v1/files/binary/testFolder/imageName.jpg"

Hi Anton!

Please try my request for saving image encoded with base64 http://pastebin.com/U0DsYu53
It works as expected.
Please try it.
Regards,
Kate.