Skip to Main Content

ORDS, SODA & JSON in the Database

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!

How to expose image (BLOB field in table) through REST service?

_Dima_Dec 3 2022

Table with following structure was created:
image-table-structure.png
The table has a record with image saved in BLOB field.

It's how it looks in SQL Developer:
image-in-sql-developer.png
It's how it looks in Database Action REST service:
image-in-web-browser-rest-service.png

How oni_content field could be converted to image?
Is REST service able to output binary image file instead of text representation?

Comments
Post Details
Added on Dec 3 2022
2 comments
311 views