Quick Start
Set up your environment using the REST API for Oracle Enterprise Manager by performing the following tasks.
Step 1: Prerequisites
Here are the prerequisites you will need to have before using the REST API for Oracle Enterprise Manager.
From your account administrator, obtain the appropriate account credentials for accessing Oracle Enterprise Manager. Specifically, you will need:
-
Username
-
Password
-
REST URL
Step 2: Install cURL
The examples within this document use the cURL command-line tool.
To connect securely to the server, install a cURL version that supports SSL and provide an SSL certificate authority (CA) certificate file or bundle to authenticate against the Verisign CA certificate. For more information about:
-
Using cURL, see Use cURLs.
-
Authentication, see Authentication.
-
In your browser, navigate to the cURL home page at http://curl.haxx.se and click Download in the left navigation menu.
-
On the cURL Releases and Downloads page, locate the SSL-enabled version of the cURL software that corresponds to your operating system, click the link to download the ZIP file, and install the software.
-
Navigate to the cURL CA Certs page at http://curl.haxx.se/docs/caextract.html and download the ca-bundle.crt SSL CA certificate bundle in the folder where you installed cURL.
-
Open a command window, navigate to the directory where you installed cURL, and set the cURL environment variable,
CURL_CA_BUNDLE
, to the location of an SSL certificate authority (CA) certificate bundle. For example:C:\curl> set CURL_CA_BUNDLE=ca-bundle.crt
You are now ready to send requests to the Oracle Enterprise Manager REST API using cURL.
Note:
You will be prompted for a password if it's not passed as a header.