Create event route + doc

This commit is contained in:
Quentin T'JAMPENS
2025-10-27 23:06:17 +01:00
parent adfe2a9fe1
commit 41cf8a5a44
3 changed files with 72 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
meta {
name: Create event
type: http
seq: 1
}
post {
url: {{url}}/api/events/create
body: json
auth: inherit
}
headers {
X-XSRF-TOKEN:
}
body:json {
{
"name": "{{name}}",
"description": "{{description}}"
}
}
vars:pre-request {
name: Mon super event
description: Ma super description
}
assert {
res.status: eq 200
}
settings {
encodeUrl: true
timeout: 0
}