7 Replies Latest reply on Nov 8, 2018 10:09 PM by mikeTel

    APEX 18.1 :  File Download using Oracle REST Data Services

    mikeTel

      Hello Gurus,

       

      I have an IR that is based on web service.

       

      One of the column contains file name.

       

      My requirement is to download the file thru REST.

       

      I have the following definition of my endpoint:

       

      Screen Shot 2018-11-08 at 3.47.46 pm.png

      Screen Shot 2018-11-08 at 3.48.39 pm.png

       

       

      GET operation has the following code:

       

      select mime,

                 file_blob

      from tableA

      where file_id = :file_blob_id

       

      When I ran in Postman to test, the document is <blank>.

       

      What am i missing?

       

      Thanks in advance.