RealNewton Posted February 25, 2021 Share Posted February 25, 2021 Hi, Iam trying to do a discord bot with minehut API to start a server, but when i do post request with my password and email, it says {"error":"No longer supported."} . Is there any way to start the server through API? Link to comment Share on other sites More sharing options...
2 Prorickey Posted February 26, 2021 Share Posted February 26, 2021 The API doesn't support anything that requires authorization but it is still possible. You just have to pass two headers: x-session-id and your authorization key. These are temporary and do change every once in a while. If you are wondering how to get these, just go into your console, open developer tools which is found when you click the three dots at the top right screen of the browser, click on "More Tools" and click developer tools. This is also the same thing as inspect. Then go to network and wait for a request called "all_data" shows up. You should be able to click this and scroll down to find them. You can also find this tutorial at https://github.com/TeamMH/minehutxyz/blob/apidocs/api/auth.md Link to comment Share on other sites More sharing options...
0 BurningBrimstone Posted February 26, 2021 Share Posted February 26, 2021 5 hours ago, RealNewton said: Hi, Iam trying to do a discord bot with minehut API to start a server, but when i do post request with my password and email, it says {"error":"No longer supported."} . Is there any way to start the server through API? No. API starts are no longer supported, as the message states. Sorry for the troubles. - Discord: Brim#0768 Link to comment Share on other sites More sharing options...
Question
RealNewton
Hi, Iam trying to do a discord bot with minehut API to start a server, but when i do post request with my password and email, it says {"error":"No longer supported."} . Is there any way to start the server through API?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now