Download file on browser using REST API
Content
Hi All,
Working on below use case:
- Create a REST Service which accepts filename and filepath request parameter and return the file
- Look into the FTP and extract the file based on filename and filepath provided as part of request parameter in REST API
- Map the fileReference -> attachmentReference in REST Serivce Resonse mapper
When I hit the API a file downloaded with name get without any extension and doesn't open it properly. Attaching the .iar file for your reference. Can someone help how to achieve this or it is not possible in OIC.
Regards,
Ankur
Tagged:
0