The following example shows how to view detailed information about a Database Cloud Service instance by submitting a GET request on the REST endpoint using cURL.

To know basic about RESTAPI

In the last post, we created an access rule with RestApi. Now, in this post, we will see how to get the information about that instance.

The following example shows how to enable a rule by submitting a PUT request on the REST endpoint using cURL.

In this example, the identity domain is “idcs-bac676f0a2c643a281868616b45986da”, and the Oracle Cloud username and password are “clouduser” and “Pa$$word“. The allow-1525-connection rule is being created for the service instance Skant.

Note that the request body is included directly in the cURL command by using the –data option.

cURL Command

HTTP Status Code and Response Headers

Response Body

Stay tuned for More articles on Oracle Cloud and RESTapi

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Telegram Channel : https://t.me/helporacle

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

Joel Perez’s LinkedIn: Joel Perez’s Profile

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

Leave a Reply