DONE !!
This commit is contained in:
@@ -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}}
|
||||
Reference in New Issue
Block a user