Skip to content

skubalski/akademia17-employee-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

akademia17-employee-helper

Domain: https://akademia17-employee-helper.herokuapp.com/api/v1

Actions:

Unauthenticated:

1. Register:
	- endpoint: /auth/register
	- method: POST
	- params: username, password
2. Login:
	- endpoint: /auth/login
	- method: POST
	- params: username, password, api_key

Authenticated:

1. Generate new employee id
	- endpoint: /employee/:id
	- method: GET
2. Generate new verification pin:
	- endpoint: /code
	- method: GET

Authentication:

1. Header: Authorization: Bearer <token>
2. Request body: token: <token>
3. Query string: <domain>/<endpoint>?token=<token>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published