Use cURL
cURL is an open source, command-line tool for transferring data with URL syntax via various protocols, including HTTPS. cURL can be used to call Oracle CPQ Cloud Service REST resources. On the Oracle Help Center, examples for each CPQ Cloud REST API endpoint are given as cURL commands.
cURL on Generic Windows Environments
To install and begin using cURL on a generic Windows environment:
- Open the cURL Releases and Downloads page.
- On the cURL Releases and Downloads page, click the version number (#.##.#) of the SSL-enabled package for your computer's operating system (if you do not know which package to download, click curl Download Wizard and follow the steps in the wizard to determine the correct package).
- Open the ZIP file that was downloaded and move the curl.exe file to a new folder in your file directory. For example:
C:\cURL
- Open the cURL CA Extract page.
- Download the cacert.pem file and place it in the same folder as the curl.exe file.
- Open cmd.exe.
- In the CMD command line application, open the cURL directory you created by running a
cd
command. For example:cd C:\cURL
- Run cURL by executing
cURL.exe
.
If you completed the steps above, you are now ready to begin sending calls to the CPQ Cloud REST API using cURL. For more information, see Send Requests or see the example calls on each REST endpoint.
cURL on UNIX Environments
cURL is typically available by default on most UNIX-like hosts. For instructions on how to install cURL on Cygwin on Windows, see Installing cURL on Cygwin on Windows.