curl --request POST \
--url http://localhost/mogl/mogl-admin-dashboard/athletes/save \
--header 'Content-Type: multipart/form-data' \
--cookie mogl_session= \
--form sport_category_id=123 \
--form 'first_name=<string>' \
--form 'last_name=<string>' \
--form email=jsmith@example.com \
--form 'contact_number=<string>' \
--form university_id=123 \
--form dob=2023-12-25 \
--form expected_graduation_date=123 \
--form 'status=<string>' \
--form is_verified=123 \
--form 'us_citizen=<string>' \
--form 'gender=<string>' \
--form id=123 \
--form 'password=<string>' \
--form 'contact_number_old=<string>' \
--form 'jersey_no=<string>' \
--form 'location=<string>' \
--form profile_photo='@example-file' \
--form cover_photo='@example-file' \
--form 'profile_photo_val=<string>' \
--form 'cover_photo_val=<string>'curl --request POST \
--url http://localhost/mogl/mogl-admin-dashboard/athletes/save \
--header 'Content-Type: multipart/form-data' \
--cookie mogl_session= \
--form sport_category_id=123 \
--form 'first_name=<string>' \
--form 'last_name=<string>' \
--form email=jsmith@example.com \
--form 'contact_number=<string>' \
--form university_id=123 \
--form dob=2023-12-25 \
--form expected_graduation_date=123 \
--form 'status=<string>' \
--form is_verified=123 \
--form 'us_citizen=<string>' \
--form 'gender=<string>' \
--form id=123 \
--form 'password=<string>' \
--form 'contact_number_old=<string>' \
--form 'jersey_no=<string>' \
--form 'location=<string>' \
--form profile_photo='@example-file' \
--form cover_photo='@example-file' \
--form 'profile_photo_val=<string>' \
--form 'cover_photo_val=<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
A or I
0 or 1
Y or N
Pass for update; omit for create
Existing profile photo path when not uploading a new file
Existing cover photo path when not uploading a new file
Redirect to athletes list