Example: Using REST APIs to Upload a Snapshot with Postman

In this example, we upload a snapshot named Artifact Snapshot.zip to our environment , https://<BASE-URL>.

Notes:

  • We are using 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/Artifact%20Snapshot.zip/contents
  • If the filename contains special characters or has white space, it must be encoded using any online resource, such as urlencode.org
  1. Example of Upload snapshot parameters.
    Upload Snapshot Parameters Example

  2. Example of Upload Snapshot authorization.
    Upload snapshot Authorization Example

  3. Example of Upload Snapshot headers.
    Upload snapshot Headers Example

  4. Example of Upload Snapshot body.
    Upload snapshot Body Example

  5. Example of Upload Snapshot response on success.
    Example of Upload Snapshot response on success

  6. Example of checking status for Upload Snapshot .
    Example of checking status for Upload snapshot