Use cURL

cURL is an open source, command-line tool for transferring data with URL syntax, supporting various protocols including HTTP and HTTPs. The examples within this document use cURL to demonstrate how to access the REST API for Oracle SOA Cloud Service on Oracle Public Cloud Machine.

For information about downloading and installing cURL, see Install cURL. For more information about authentication requirements, see Authentication.

The following example cURL command retrieves the details of the ExampleService service instance:

curl -i -X GET -u joe@example.com:Mypassword1! -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://jaas.oraclecloud.com/paas/service/soa/api/v1.1/instances/ExampleIdentityDomain/ExampleService
Note:: This example uses the URL prefix for the United States ( jaas). For information about the URL prefixes for other regions of the world, see Send Requests.