• 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.

EN API V1 not working?

Frizzant

Member
Contributor
So I want to experiment a bit more with other options, and make a script page in the backend for one of my scripts.
Now if i visit http://myurl.com:8087/api/v1/bot/info I don't see that the API is working (chrome default broken page error). The normal login through http://myurl.com:8087 works flawlessly.

My question is, where do I have to enable the API? I could not find any settings in the config.ini file that look like they have anything to do with the API.

Pretty sure I am missing something simple.
 
The frontend uses the exact same API, so if that works you can also be sure that the API is working. You can even use the development tools of your browser to see what’s going on there :)
 
The frontend uses the exact same API, so if that works you can also be sure that the API is working. You can even use the development tools of your browser to see what’s going on there :)
I see. But shouldn't I see some JSON data usually if i visit the URL?
 
No since you need to set headers with your authentication token, by default chrome sends default headers and maybe cookies if set
 
Back
Top Bottom