Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Download file on browser using REST API

edited Apr 22, 2020 4:16PM in Integration 14 comments

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!