Using curl

Perform the following steps to set up curl and create a project for Oracle Construction and Engineering Lobby using the Oracle Construction and Engineering Lobby API.

Step 1: Install curl

The examples within this topic demonstrate how to access the Oracle Construction and Engineering Lobby API using the curl command-line tool.

To connect to the Oracle Construction and Engineering Lobby API, you must install a version of curl that supports SSL. When you connect to the API, you must provide an SSL certificate authority (CA) certificate file or bundle to authenticate against the Verisign CA certificate. See also: curl Overview

To install curl on a Windows 64-bit system:

  1. In your browser, navigate to the curl home page and select Download.
  2. On the curl Releases and Downloads page, locate the SSL-enabled version of the curl software for your operating system, click the link to download the ZIP file, and install the software.
  3. Navigate to the curl CA Certs page at http://curl.haxx.se/docs/caextract.html and download the cacert.pem SSL CA certificate bundle in the folder where you installed curl.
  4. Open the command-line, 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=cacert.pem
    
    

You are now ready to send requests to the Oracle Construction and Engineering Lobby API using curl.