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://<BASE-URL>
.
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://<BASE-URL>/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 .)
-
Example of parameters for Upload to external directory.
-
Example of authorization for Upload to external directory.
-
Example of Upload to external directory headers.
-
Example of Upload to external directory body.
-
Example of Upload to external directory response on success.