Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 730 Bytes

File metadata and controls

19 lines (14 loc) · 730 Bytes

API_JWT

Creation of simple API using json web token authentication

Expiration token: 300 sec

Route HTTP Verb Description
/api/notes GET Get all notes
/api/notes/:id GET Get note by id
/api/notes/ POST Add new note
/api/notes/:id PUT Update a note
/api/notes/:id DELETE Delete a note
/api/setup GET Creates a test user
/api/authenticate POST Get authentication token

Example: https://api-note.herokuapp.com/ Note: JWT disabled for testing purposes