The problem
I want to access the API of one of my Minecraft instances to send console commands to it. If my domain is https://example.com I can access the API of the ADS instance with https://example.com/API/Core/SendConsoleMessage.
I've successfully logged in to the API and tried a bunch of functions, but I don't really know how to access the Minecraft API.
What I've tried
- Accessing the Minecraft API through https://example.com/API/Core/SendConsoleMessage?instance=xxx
- Using a proxy for https://example.com/Minecraft01 to point localhost:8081 through nginx, but I didn't get it to work.
- I can access the Minecraft API through http://192.168.0.254:8081
My last option would be to set up another subdomain (https://minecraft01.example.com) to access the Minecraft instance directly.
Question
Is there any simple way I've missed to access the API of other instances?