Media files are uploaded using HTTPS PUT. The following HTTPS headers must be set in the upload request:
Content-Type
= "<File content type>"
X-Token
= "<Token>"
Use the following URL format to upload media files:
https://<nandboxMediaServer>:<port>/nandbox/upload/<FileName>
Example
<https://w1.nandbox.net:8080/nandbox/upload/><FileName>
The body of the request must contain the binary content of the file being uploaded.
📌 Notes:
Content-Type
header.X-Token
must be a valid authentication token for the request to succeed.This table defines how content types (MIME types) are categorized based on the type of media being uploaded.