Operating System: Linux
SinusBot Version: 0.9.16-10f0fad
Problem Description
I am trying to log in to SinusBot through the API however I am returned an error no matter what I do. I am posting the data and have tried many ways including online applications.
I am using http://IP:8087/api/v1/bot/login as the URL and am posting username, password, and BotId like the API documentation says. I get the response:
If I don't use any parameters for the POST request then I get:
I was successful using the info part of the API (/api/v1/bot/info) which returned Unauthorized which means the API is working. This shows that the API documentation ( https://www.sinusbot.com/api/ ) URL for logging in might be wrong or that I am doing something wrong.
Any help is appreciated as I have been stuck on this for ages.
Thanks,
Isaac.
SinusBot Version: 0.9.16-10f0fad
Problem Description
I am trying to log in to SinusBot through the API however I am returned an error no matter what I do. I am posting the data and have tried many ways including online applications.
I am using http://IP:8087/api/v1/bot/login as the URL and am posting username, password, and BotId like the API documentation says. I get the response:
Code:
{"success":false,"code":406,"error":"invalid character 'u' looking for beginning of value"}
Code:
{"success":false,"code":406,"error":"EOF"}
Any help is appreciated as I have been stuck on this for ages.
Thanks,
Isaac.