Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


This response confirms that your file was successfully uploaded and provides you with the necessary information to verify the upload and reference the file in the future.

Postman Example
To test using Postman, you can import the following cURL command:

Code Block
curl --location 'https://api.honeywell-sandbox.opsera.io/data-migration-file/data/upload' \
--header 'Authorization: Bearer YOUR_AUTH_TOKEN' \
--header 'Content-Type: application/json' \
--header 'Content-Encoding: gzip' \
--header 'X-File-Content-Classification: Insights.UnityProjects' \
--header 'X-File-Content-Length: ORIGINAL_FILE_SIZE' \
--header 'X-File-Content-MD5: ORIGINAL_FILE_MD5' \
--header 'X-File-Name: data.json' \
--data '@/path/to/your/data.json.gz'

To import this into Postman

  1. Open Postman

  2. Click on "Import" in the top left corner

  3. Choose the "Raw text" tab

  4. Paste the curl command above

  5. Click "Continue" and then "Import"

  6. Update the placeholder values with your actual data before sending the request

Please ensure you replace YOUR_AUTH_TOKEN, ORIGINAL_FILE_SIZE, ORIGINAL_FILE_MD5, and the file path with your specific values.