hi, i have registered my server on https://minecraftpocket-servers.com/server/45792/ but how can get the top voter/s ? in java/php
Here I found "https://minecraftpocket-servers.com...ey={ServerKey}&month={Period}&format={Format}" from minecraftpocket-servers api. Maybe this is that, what you want.
That's probably because the error is emitted from quite low-level part of the script. They probably use this error function for all errors, including internal errors, so if an internal error about unexpected Accept content-type is to be shown, what is the format of this error?
Click it https://minecraftpocket-servers.com...ey={ServerKey}&month={Period}&format={Format} Code: { "status":"error", "message":"Invalid server key" } Simple as that. Perhaps bad API?
Your format is "{Format}". How could you expect that it returns JSON? You didn't even specify a proper format. Furthermore, if the first character in he return body is not {, you already know that something is wrong. The error message is supposed to be read by developers, not by machine. So why does it have to be JSON?