curl --request POST \
--url https://cucuniversity.edtools.co/api/resource/Student%20Leave%20Application \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"student": "EDU-STU-2025-02904",
"from_date": "2025-01-20",
"to_date": "2025-01-22",
"reason": "Cita médica programada",
"mark_as_present": 0
}
'