Uploading Media ⬆️

Uploading Media

Media files are uploaded using HTTP PUT. You must set the following HTTP headers in the upload request:

  • " Content-type" = "<File content type>"
  • "X-Token" = "<Token>"

The Bot Server upload URL format is:
https://<nandboxBotServer>:<port>/nandbox/upload/<imageName>

In the body of the request, include the binary content of the file.

For more details, check the code examples here

Language