Example: Using REST APIs to Upload with Postman
In this example, we upload a file named users.csv
to our environment,
https://<BASE-URL>
.
For an example of coding parameters, scroll down to the end of this topic.
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/users.csv/contents
- If the filename contains special characters or has whitespace, it should be encoded using any online resource, such as urlencode.org.
-
Example of Upload parameters.
-
Example of Upload authorization.
-
Example of Upload headers.
-
Example of Upload body.
-
Example of Upload response on success.