Files
SAE-BUT2-backend/tests/Events/tasks/Update Task.bru
T

38 lines
499 B
Plaintext

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:
name:
description:
location:
start:
end:
max_participants:
}
settings {
encodeUrl: true
timeout: 0
}