Public
Documentation Settings

Mock Premier League

AUTHORIZATIONBearer Token
Token

<token>

POSTSignup Endpoint

https://mock-pl.herokuapp.com/api/v1/users/signup

Signup as a new user with the following parameters

  • firstName
  • lastName
  • email
  • password
AUTHORIZATIONBearer Token
This request is using Bearer Token from collectionMock Premier League
HEADERS
Content-Type

application/json

Bodyraw
{
	"email": "katy.perry4@gmail.com",
	"password": "testing1234",
	"firstName": "Katy",
	"lastName": "Perry"
}

POSTSignin Endpoint

https://mock-pl.herokuapp.com/api/v1/users/signin

Signin as an existing user with the following parameters:

  • email - String
  • password - String
AUTHORIZATIONBearer Token
Token

<token>

HEADERS
Content-Type

application/json

Bodyraw
{
	"email": "admin@mockpl.com",
  "password": "password"
}

GETGet All Users Endpoint

https://mock-pl.herokuapp.com/api/v1/users

This endpoint returns all registered in the database

AUTHORIZATIONBearer Token
This request is using Bearer Token from collectionMock Premier League
Loading