Hello Alena,
I solved it by this way :
Parse Post Service Settings :
In the rest service request body data , i write code{"base64":"{base64}","_ContentType":"image/jpeg" }/code.
Header:
Content-Type : text/plain
Parse Post URL: .../files/picture.jpg
Camera:
The camera service request is dataURL. Then save it to "image_base64" local storage.
Before invoke service:
code
var data = localStorage.getItem("image_base64");
data = data.substring(data.indexOf(',')+1);
FileUpload_settings.base64 = data;
/code.
This is working but not the proper way. Proper way is : Content-Type: image/jpeg and "@" before filename and send as binary file.