Browse Source

update README

Maurits van der Schee 3 years ago
parent
commit
53f748c935
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      README.md

+ 1
- 0
README.md View File

@@ -710,6 +710,7 @@ The database authentication middleware defines three new routes:
710 710
 
711 711
     method path       - parameters               - description
712 712
     ---------------------------------------------------------------------------------------------------
713
+    POST   /register  - username + password      - adds a user with given username and password
713 714
     POST   /login     - username + password      - logs a user in by username and password
714 715
     POST   /logout    -                          - logs out the currently logged in user
715 716
     GET    /me        -                          - returns the user as which you're currently logged in

Loading…
Cancel
Save