How to Insert / Upload image through POST API (published from Mendix).

Hi reader, I use Angular as Front end. I have an entity with my fields with System.image as generalization. And I have published that entity as Rest API. Now I want to integrate that to Angular and perform CRUD. Kindly let me know if anyone has done the same or any idea.   Thanks in advance.
2 answers

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:


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