-
Notifications
You must be signed in to change notification settings - Fork 2
API Documentation
Axtux edited this page Jul 29, 2019
·
1 revision
This page will help you to understand how the Switch API works.
Returns the 10 users with the most points out of the user database.
GET http://localhost:3000/users/top10users
Serves as user authentication.
We are not using login credentials as authentication, we are instead creating a token client-side when a new user is created You can see the code for token validation here.
GET http://localhost:3000/users/login