get endpoint for listing snippets working
This commit is contained in:
parent
700710df56
commit
4acc4e2201
5 changed files with 57 additions and 10 deletions
|
|
@ -4,8 +4,17 @@ meta {
|
|||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url:
|
||||
body: none
|
||||
post {
|
||||
url: {{host}}/api/snippet
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"title": "Test Snippet",
|
||||
"slug": "test-snippet",
|
||||
"markdown": "this is a test",
|
||||
"tags": ["test"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue