curl --request POST \
--url http://localhost/mogl/mogl-backend/api/agent/register \
--header 'Content-Type: application/json' \
--data '
{
"name": "John Doe",
"email": "agent@example.com",
"password": "SecurePass1!",
"role_id": 4,
"contact_number": "+11234567890",
"agent_details": {
"agency_name": "Elite Sports Agency",
"city": "Los Angeles",
"linkedin_profile": "https://linkedin.com/in/johndoe",
"fbp": "fb.1.1672531200.987654321",
"fbc": "fb.1.1672531200.AbCdEfGhIjKlMnOpQrStUvWxYz"
}
}
'curl --request POST \
--url http://localhost/mogl/mogl-backend/api/agent/register \
--header 'Content-Type: application/json' \
--data '
{
"name": "John Doe",
"email": "agent@example.com",
"password": "SecurePass1!",
"role_id": 4,
"contact_number": "+11234567890",
"agent_details": {
"agency_name": "Elite Sports Agency",
"city": "Los Angeles",
"linkedin_profile": "https://linkedin.com/in/johndoe",
"fbp": "fb.1.1672531200.987654321",
"fbc": "fb.1.1672531200.AbCdEfGhIjKlMnOpQrStUvWxYz"
}
}
'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.
Agent registered