Send Requests
Use the following guidelines when sending requests using the Oracle Managed File Transfer REST API.
URL Structure
http://<host>:<port>/mftapp/rest/v1/<resource-uri>
-
<host>:<port>: Host and port where Oracle Managed File Transfer is running. -
<resource-uri>: Relative path that defines the resource.
Supported Methods
You can perform the operations described in the following table using standard HTTP method requests.
Table - Supported HTTP Methods
| HTTP Method | Description |
|---|---|
GET |
Retrieve information about a resource. |
POST |
Create or update a resource. |
Media Types
The following media types are supported by the Oracle Managed File Transfer REST API:
-
application/json -
application/xml(requests only)
Supported Headers
The Oracle Managed File Transfer REST API supports the following headers that may be passed in the header section of the HTTP request or response.
Table - Supported Headers
| Header | Description | Example |
|---|---|---|
Accept |
Media type of the body of the response. | Accept: application/json |
Content-Type |
Media type of the body of the request. Required for POST and PUT requests. | Content-Type: application/json |