Quick Start
Set up your environment and discover your first source using the REST API for Oracle Managed File Transfer Cloud Service on Oracle Public Cloud Machine by performing the following tasks.
Step 1: Obtain Account Information
The username and password for your Oracle Managed File Transfer Cloud Service account.
The URL of your Oracle Managed File Transfer Cloud Service instance.
Step 2: Install cURL
The examples within this document use the cURL command-line tool to demonstrate how to access the REST API for Oracle Managed File Transfer Cloud Service on Oracle Public Cloud Machine.
To connect securely to the server, you must install a version of cURL 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 cURL.
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 cacert.pem 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=cacert.pem
You are now ready to send requests to Oracle Managed File Transfer Cloud Service on Oracle Public Cloud Machine using cURL.
Step 3: Discover Your First Source
Use a cURL command such as the following to discover an MFT source named src1:
curl -u jsmith:welcome1 -H "Content-Type:application/json" -H "Accept:application/json" -H "X-ID-TENANT-NAME:ExampleIdentityDomain" -X GET https://api-host/paas/service/mftapp/rest/v1/sources?searchFilter=src1
Where api-host: Host name. Get the host name (which may or may not include a port number) from your account administrator.