curl --request POST \
--url http://localhost/mogl/mogl-admin-dashboard/sport-category/save \
--header 'Content-Type: application/json' \
--cookie mogl_session= \
--data '
{
"name": "Basketball",
"status": "A",
"id": 44
}
'{
"message": "Data inserted successfully",
"status": "success",
"errors": [
"<string>"
]
}Create new sport category (omit id) or update existing (pass id). Fields: name (required, unique), status (required: A=Active, I=Inactive).
curl --request POST \
--url http://localhost/mogl/mogl-admin-dashboard/sport-category/save \
--header 'Content-Type: application/json' \
--cookie mogl_session= \
--data '
{
"name": "Basketball",
"status": "A",
"id": 44
}
'{
"message": "Data inserted successfully",
"status": "success",
"errors": [
"<string>"
]
}Documentation Index
Fetch the complete documentation index at: https://developer.mogl.online/llms.txt
Use this file to discover all available pages before exploring further.
Session-based authentication via cookies + CSRF token