Skip to content

Commit

Permalink
Closes #60
Browse files Browse the repository at this point in the history
Updated Bruno collection
  • Loading branch information
mtracewicz committed Sep 10, 2024
1 parent 75c5880 commit 3436b38
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
8 changes: 6 additions & 2 deletions backend/bruno/KSummarized/ToDo/List/Create.bru
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ meta {
}

post {
url: https://localhost:5000/api/todo/lists?name=kenobi
url: https://localhost:5000/api/todo/lists?name=demo
body: none
auth: bearer
}

params:query {
name: kenobi
name: demo
}

auth:bearer {
Expand All @@ -21,3 +21,7 @@ auth:bearer {
body:json {
"ToDo"
}

vars:post-response {
listId: res.body.id
}
2 changes: 1 addition & 1 deletion backend/bruno/KSummarized/ToDo/List/Delete.bru
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ meta {
}

delete {
url: https://localhost:5000/api/todo/lists/9
url: https://localhost:5000/api/todo/lists/{{listId}}
body: json
auth: bearer
}
Expand Down
4 changes: 2 additions & 2 deletions backend/bruno/KSummarized/ToDo/List/Edit.bru
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ meta {
}

put {
url: https://localhost:5000/api/todo/lists/5
url: https://localhost:5000/api/todo/lists/{{listId}}
body: json
auth: bearer
}
Expand All @@ -16,6 +16,6 @@ auth:bearer {

body:json {
{
"name":"Vax"
"name": "Renamed"
}
}
2 changes: 1 addition & 1 deletion backend/bruno/KSummarized/ToDo/List/Get.bru
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ meta {
}

get {
url: https://localhost:5000/api/todo/lists/9
url: https://localhost:5000/api/todo/lists/{{listId}}
body: none
auth: bearer
}
Expand Down

0 comments on commit 3436b38

Please sign in to comment.