get snippets and get snippet
This commit is contained in:
parent
70aea77dcc
commit
7bbee5b0fb
6 changed files with 42 additions and 6 deletions
23
bruno/CodeSnippets/get_snippet.bru
Normal file
23
bruno/CodeSnippets/get_snippet.bru
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
meta {
|
||||
name: get_snippet
|
||||
type: http
|
||||
seq: 6
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{host}}/api/snippet?id=aea69336-5116-49ac-ab52-bc221bdb7830
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:query {
|
||||
id: aea69336-5116-49ac-ab52-bc221bdb7830
|
||||
}
|
||||
|
||||
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