Publish REST API with form-data for file submission

0
  Hi,   I have published a REST API for an image entity, however the parameter type is still ‘json’. How can I make it to ‘form-data’ so that the API can receive image files as input parameter.    
asked
1 answers
0

Have you tried setting the parameter type to “Form” as this should allow multipart/form-data to be passed.

https://docs.mendix.com/refguide/published-rest-operation-parameter

answered