Authorization: Bearer ********************curl --location --globoff 'https://worknation-moodle-lms.ogtlprojects.com/webservice/rest/server.php?wstoken=26a5754b5b2732b2a0588ceed5f68aa3&wsfunction=block_iomad_company_admin_get_company_courses&moodlewsrestformat=json&criteria[0][companyid]=0&criteria[0][shared]=0' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: text/plain' \
--data ''[
{
"id": 1,
"name": "Category 1",
"description": "",
"parent": 0,
"sortorder": 10000,
"coursecount": 24,
"depth": 1,
"path": "https://wnacademy.worknation.ng/course/index.php?categoryid=1"
}
]