get endpoint for listing snippets working

This commit is contained in:
Travis Shears 2025-06-07 11:16:28 +02:00
parent 700710df56
commit 4acc4e2201
5 changed files with 57 additions and 10 deletions

View file

@ -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"]
}
}