Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Downloading blob data containing pdf through Restful Services

Epic FailFeb 8 2023

Running: Apex 22.2.1 on Oracle Cloud Autonomous Database

I have table that contains pdf's as a blob and the mime type ('application/pdf'). The ORDS Handler is using the GET method and Media Resource as the source type.

The service is working because I'm able to connect and pull the data via php. The issue is the page is displaying:

%PDF-1.4 %���� %ABCpdf 11302 101 0 obj << /E 82894 /H [1467 361] /L 661177 /Linearized 1 /N 18 /O 104 /T 659107 >> endobj xref 101 21 0000000032 00000 n 0000001373 00000 n 0000001467 000

I was hoping it just show the pdf. Any help would be great. I'm probably just missing a simple step.

This post has been answered by Epic Fail on Feb 8 2023
Jump to Answer
Comments
Post Details
Added on Feb 8 2023
3 comments
692 views