This commit is contained in:
2020-04-19 22:58:50 +02:00
parent e4d8bffe71
commit 51cb7d9a33
7 changed files with 63 additions and 9 deletions
+14
View File
@@ -0,0 +1,14 @@
# Register a new user
POST http://localhost:8081/login
Content-Type: application/json
{
"username": "hubert",
"password": "test"
}
> {% client.global.set("token", response.body.token); %}
### Get notes
GET http://localhost:8081/notes
Authorization: Bearer {{token}}