We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

All rest calls are failing with UnAuthorized exception

Received Response
15
Views
4
Comments
edited Apr 20, 2018 7:00AM in Database 4 comments

Summary

All rest calls are failing with UnAuthorized exception

Content

We just started on oracle DbaaS service and using UI, we are able to provision DbaaS service and everything is fine. Now we are exploring via rest. tried with GET request and it fails as below.

Any setting i need to do in my Cloud AdminConsole to allow rest apis calls?

 

Same domain name and username will work fine via UI.

 

curl -v --include --request GET https://dbaas.oraclecloud.com/paas/service/dbcs/api/v1.1/instances/myDom \

> --user MyUser:MyPaaS \

> --header "X-ID-TENANT-NAME:myDom"

 

* Initializing NSS with certpath: sql:/etc/pki/nssdb

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!