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!

DB procedure to connect to a remote REST API

User_KT7PPSep 27 2021

I'm trying to connect to a remote REST API using sqlDeveloper. I don't need ORDS, since I suspect I'm making a call to a remote REST API to get back JSON data, parse it and then load into a DB table. I do not need the DB receiving the data to provide REST API's , I just need to call a REST API to get data into a table.
Problem is in sqlDeveloper when using "REST Development" and attempting to connect to server, it tries to connect but fails authorization (401) even though I know user/passwd is good. Turns out its making a POST call to remote API server, when I would have wanted a GET call , plus it fails 401 even after I enter correct user/passwd in popup window . Suggesting for connecting correctly ?

Comments
Post Details
Added on Sep 27 2021
2 comments
3,956 views