add create endpoint

This commit is contained in:
Ean Milligan
2026-04-09 17:08:59 -04:00
parent 495698f33e
commit 57a9678f38
4 changed files with 40 additions and 2 deletions

View File

@@ -0,0 +1,26 @@
meta {
name: create plan
type: http
seq: 1
}
post {
url: http://localhost:14014/api/create
body: json
auth: inherit
}
body:json {
{
"name": "test",
"pin": "1234",
"planName": "test plan",
"folder": "",
"data": "data string"
}
}
settings {
encodeUrl: true
timeout: 0
}

View File

@@ -1,7 +1,7 @@
meta {
name: delete plan
type: http
seq: 1
seq: 2
}
delete {

View File

@@ -1,7 +1,7 @@
meta {
name: undelete plan
type: http
seq: 2
seq: 3
}
put {