Skip to Main Content
  • Questions
  • Invoke REST API with file attachment in PL/SQL

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Suneel R.

Asked: April 21, 2023 - 10:49 am UTC

Last updated: May 10, 2023 - 3:43 am UTC

Version: 19.c

Viewed 1000+ times

You Asked

I have a requirement to call a REST API which takes file as input. I could call the API in postman with file input and it worked as expected. I have to implement same with PLSQL.

Can you share if you have any example code snippet for this requirement? My main question is where the file is stored in PLSQL to pass it to the API.

and Connor said...


Is this answer out of date? If it is, please let us know via a Comment

More to Explore

PL/SQL demos

Check out more PL/SQL tutorials on our LiveSQL tool.

PL/SQL docs

PL/SQL reference manual from the Oracle documentation library