Hello,
I am trying to upload a photo to Backendless using the below: https://backendless.com/docs/rest/files_file_upload.html.
with correct applicationID and app_key (i tested the request with postman and it was successful).
The problem is when i use JS (Angular) - i get the below error:
(also in the title)
.
My question is what headers to use - in both Postman and Anguar I am using
Content-Type: multipart/form-data. There is no difference - or at least not something that is manually inserted.
And what shuld be the body of the request - there is no valid example in the dcumentation?
Thanks,
Ivan