add logging and handle snippet deletes
This commit is contained in:
parent
c28c398a14
commit
38f130fcfd
8 changed files with 75 additions and 14 deletions
23
bruno/CodeSnippets/delete_snippet.bru
Normal file
23
bruno/CodeSnippets/delete_snippet.bru
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
meta {
|
||||
name: delete_snippet
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{host}}/api/snippet?id=952cdf1a-a2a8-4fe2-9354-953b240136ae
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:query {
|
||||
id: 952cdf1a-a2a8-4fe2-9354-953b240136ae
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"title": "Test Snippet",
|
||||
"markdown": "## Cool Snippet\ndoes a cool thing",
|
||||
"tags": ["git", "jj"]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue