add edit snippet use case
This commit is contained in:
parent
f58db3d88b
commit
2197dd0c1d
5 changed files with 56 additions and 1 deletions
22
bruno/CodeSnippets/edit_snippet.bru
Normal file
22
bruno/CodeSnippets/edit_snippet.bru
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
meta {
|
||||
name: edit_snippet
|
||||
type: http
|
||||
seq: 7
|
||||
}
|
||||
|
||||
patch {
|
||||
url: {{host}}/api/snippet?id=680a3508-7709-4f71-b5c3-3dcbffe6f5cf
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:query {
|
||||
id: 680a3508-7709-4f71-b5c3-3dcbffe6f5cf
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"title": "Updated from Bruno",
|
||||
"tags": ["code", "mock"]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue