• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

API Upload file on computer

So, I'm using the Sinusbot API to upload and play files automatically when needed. I'm using Java with HTTP method to do such things as it's more flexable for what I'm doing. The problem is I cant seem to figure out how to upload a file that's already on the local computer.

I found this in the API documents of Sinusbot, but all that shows for paramters is optional paramaters, no real info of where to put a file path to upload a file. So far I've managed to login and retrieve a Token from the API which is wounderful, but I still need to be able to upload a local file. What paramters do I need exactly with the API to do such a thing?
 
Top