Skip to content

Instantly share code, notes, and snippets.

@regularRichi
Last active July 18, 2019 08:47
Show Gist options
  • Save regularRichi/081a4053054e3fd5fc92c17946ad8ba8 to your computer and use it in GitHub Desktop.
Save regularRichi/081a4053054e3fd5fc92c17946ad8ba8 to your computer and use it in GitHub Desktop.
Body request and response for Playoff authenticaton

Make a POST request to:

https://playoffgamification.io/auth/token

With a body like this:

{
	"client_id": "<YOUR_CLIENT_ID>",
    "client_secret": "<YOUR_CLIENT_SECRET>",
    "grant_type": "client_credentials"
}

Following an example of a response:

{
    "access_token": "<YOUR_ACCESS_TOKEN>",
    "expires_in": 86400,
    "token_type": "Bearer"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment