Example: Using REST APIs to Upload to an External Directory with Postman

In this example, we upload a file named data.txt to the inbox directory in our environment, https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>. oraclecloud.com/.

Notes:

  • This example uses the 11.1.2.3.600 Upload API, which is a simpler non-chunked version.
  • The name of the file is passed in the URL itself, for example, https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>. oraclecloud.com/interop/rest/11.1.2.3.600/applicationsnapshots/data.txt/contents?extDirPath=inbox
  • If the filename contains special characters or has white space, it must be encoded using any online resource, such as urlencode.org . (See an example at the bottom of this topic: Example: Using REST APIs to Upload with Postman .)
  1. Example of parameters for Upload to external directory.
    Upload to external directory Parameters Example

  2. Example of authorization for Upload to external directory.
    Upload to external directory Authorization Example

  3. Example of Upload to external directory headers.
    Upload to external directory Headers Example

  4. Example of Upload to external directory body.
    Upload External Directory Body Example

  5. Example of Upload to external directory response on success.
    Example of Upload to External Directory response on success