add create endpoint
This commit is contained in:
26
.bruno/Plan Endpoints/create plan.bru
Normal file
26
.bruno/Plan Endpoints/create plan.bru
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user