Files
SAE-BUT2-backend/tests/Events/tasks/create event task.bru
T

33 lines
426 B
Plaintext

meta {
name: create event task
type: http
seq: 1
}
post {
url: {{url}}/api/events/task
body: json
auth: inherit
}
headers {
X-XSRF-TOKEN:
}
body:json {
{
"event_id": 1,
"name": "test",
"location": "location test",
"description": "desc test",
"start": "2025-11-09 15:30:00",
"end": "2025-11-09 15:30:00",
"max_participants": 10
}
}
settings {
encodeUrl: true
timeout: 0
}