I'm not sure how you should perform this action in Angular, but to test your REST API in Mendix goto your app URL and after the portnumber enter /rest-doc/ and open the API swagger page.
Select the url at the top of the page and copy this.
Open the Postman app and from the file menu select import, in the dialog paste the copied URL.
Now you should be able to test your REST service and upload the image file.
This link might help in implementing the function in Angular: https://stackoverflow.com/questions/36352405/file-upload-with-angular2-to-rest-api
Hi Ashish, Hi Corina
This should be possible by creating a get Methode in Mendix
After that you could use the created Location in Angular