42 lines
622 B
Plaintext
Executable File
42 lines
622 B
Plaintext
Executable File
meta {
|
|
name: Update Task
|
|
type: http
|
|
seq: 5
|
|
}
|
|
|
|
post {
|
|
url: {{url}}/api/events/tasks/{{id}}/update
|
|
body: json
|
|
auth: inherit
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"name": "{{name}}",
|
|
"description": "{{description}}",
|
|
"location": "{{location}}",
|
|
"start": "{{start}}",
|
|
"end": "{{end}}",
|
|
"max_participants": "{{max_participants}}"
|
|
}
|
|
}
|
|
|
|
vars:pre-request {
|
|
id: 1
|
|
name: Organisation plage
|
|
description: il faut organiser la sortie
|
|
location: La Rochelle
|
|
start: 2025-01-15T13:45
|
|
end: 2025-03-15T13:00
|
|
max_participants: 5
|
|
}
|
|
|
|
assert {
|
|
res.status: eq 200
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|