Skip to main content
POST
/
fan
/
register
Register new fan
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/fan/register \
  --header 'Content-Type: application/json' \
  --data '
{
  "first_name": "John",
  "last_name": "Doe",
  "location": "Los Angeles, CA",
  "university_id": 1,
  "email": "fan@example.com",
  "password": "SecurePass1!"
}
'

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.

Body

application/json
first_name
string
required
Example:

"John"

last_name
string
required
Example:

"Doe"

location
string
required
Example:

"Los Angeles, CA"

university_id
integer
required
Example:

1

email
string<email>
required
Example:

"fan@example.com"

password
string<password>
required
Example:

"SecurePass1!"

Response

Fan registered