refactor: move backend in apps/backend
This commit is contained in:
1 parent
cf529278bd
commit
e2b471312c
178 files changed
+210
-193
No files matched your search
+42
@@ -0,0 +1,42 @@
|
||||
meta {
|
||||
name: create event task
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/api/events/task
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"event_id": "{{event_id}}",
|
||||
"name": "{{name}}",
|
||||
"location": "{{location}}",
|
||||
"description": "{{description}}",
|
||||
"start": "{{start}}",
|
||||
"end": "{{end}}",
|
||||
"max_participants": "{{max_participants}}"
|
||||
}
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
event_id: 1
|
||||
name: Organisation plage
|
||||
location: la rochelle
|
||||
description: il faut organiser la sortie
|
||||
start: 2025-01-15T13:45
|
||||
end: 2025-03-15T13:00
|
||||
max_participants: 5
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: eq 200
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
Reference in new issue
Block a user