Upload a temporary file

post

/epm/rest/v1/files/temp

Request

Supported Media Types
Form Parameters
  • File to be uploaded. Boundary Parameter is required in Content-type request header.
Back to Top

Response

201 Response

File created
Body ()
Back to Top

Examples

The following example shows how to upload a temporary file by submitting a post request on the REST resource using cURL.

cURL Command

curl --user epm_cloud_user -X POST \
  https://servername.fa.us2.oraclecloud.com/epm/rest/v1/files/temp \
  -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
  -F file=@sampleFile.csv

Example of Response Body

The following shows an example of the response body in JSON format.

{
  "links": [
    {
      "rel": "file",
      "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/files/temp/dd8c5576-9db0-44b7-a9e9-e6a24491c950"
    }
  ]
}
Back to Top