Skip to Main Content

Cloud Platform

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!

Using curl and REST to get a list of tables

MJamalJul 9 2015 — edited Sep 24 2015

I have subscription to oracle cloud (schema as service).  That one schema owns a bunch of tables.  I want to issue a curl call from my windows DOS prompt to get list of tables owned by the schema.

I issue this command:  curl -k -u username:passwd -X GET https://<ipaddress>/apex/dataload/v1/tables/   and get an html output back that says "we're sorry the page you requested was not found".

Why ? what am I missing ?

username is my username i use to login to oracle cloud

ipaddress is the ipaddress of in the Service Instance URL

I also tried:

curl -k -u username.com:passwd -X GET -H "X-ID-TENANT-NAME:<identity domain>" https://<ipaddress>/apex/dataload/v1/tables/

and get the same result.

Using "-k" to turn off curls certification verification.

Thanks

Mohammad Jamal

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 22 2015
Added on Jul 9 2015
1 comment
740 views