Subtasks (#28)
This commit is contained in:
parent
007d8ec375
commit
6c5885747b
8 changed files with 59 additions and 11 deletions
|
|
@ -3,8 +3,8 @@ POST http://localhost:8080/api/v1/login
|
|||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"username": "user5",
|
||||
"password": "1234"
|
||||
"username": "user",
|
||||
"password": "12345"
|
||||
}
|
||||
|
||||
> {% client.global.set("auth_token", response.body.token); %}
|
||||
|
|
|
|||
|
|
@ -22,11 +22,15 @@ Content-Type: application/json
|
|||
###
|
||||
|
||||
# Add a new item
|
||||
PUT http://localhost:8080/api/v1/lists/14
|
||||
PUT http://localhost:8080/api/v1/lists/15
|
||||
Authorization: Bearer {{auth_token}}
|
||||
Content-Type: application/json
|
||||
|
||||
{"text": "test2", "description": "Schinken"}
|
||||
{
|
||||
"text": "this is a subtask 2",
|
||||
"description": "Schinken",
|
||||
"parentTaskID": 34
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
|
|
|
|||
Reference in a new issue