The following example shows how to create a Database Cloud Service instance by submitting a POST request on the REST endpoint using cURL.

To know basic about RESTAPI

In this example, the identity domain is “idcs-bac676f0a2c643a281868616b45986da” and the Oracle Cloud user name and password are “clouduser” and “Pa$$word“. The request body specifies the creation of a service instance named Skant.

Step 1: Create an ssh key pair

Step 2: View the public key content.

Step3: Create JSON file, which is contained in the createrequestbody.json file.

Step 4: In the following cURL command, the request body is provided in the –data option by using the @ notation to refer to the contents of the createrequestbody.json file on the local machine.

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 :

Skant Gupta’s LinkedIn:

Joel Perez’s LinkedIn: Joel Perez’s Profile

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.