Skip to content

chriswest101/rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use:

Authorise Endpoint

Call /authorise as a POST request passing with it the client id, client security code, username and password and it will return your token

Call /me as a GET request passing the token to receive a JSON array of client and user details

Call /deauthorise as a DELETE request to deauthorise the login session. You will need to pass in the client id, client security code and the token

Some tests have been set up on my hosting. Use these links:

http://christophermwest.co.uk/TestAuthoriseEndPoint.php
http://christophermwest.co.uk/TestMeEndPoint.php
http://christophermwest.co.uk/TestDeauthoriseEndPoint.php 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published