Server token and access token



  • Where is my server token and access token located?

    EDIT: found this information however when i use the PHP example on the website it returns

    "Error: "Empty reply from server" - Code: 52" any thoughts?



  • My guess it's not properly connected. Maybe you need to accept the certificate.



  • For future reference, the server and access tokens are found on the "Remote Requests" tab when viewing a server's overview.

    The PHP code is just an example, and I don't know if it works properly anymore. I would try using curl in the terminal to test your credentials first.

    curl -k -X "GET" "https://scales.yourserver.com:5656/server" \
      -H "X-Access-Server: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
      -H "X-Access-Token: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    

Log in to reply
 

Looks like your connection to PufferPanel Community was lost, please wait while we try to reconnect.