Configure Your Base URL
Magical Endpoints
/api/characters
GETReturns all characters (wizards, witches, magical creatures)
curl -s {base}/api/characters | jq .
fetch('{base}/api/characters').then(r=>r.json())
/api/character/:id
GETFind a specific character by their unique ID
curl -s {base}/api/character/9e3f7ce4-b9a7-4244-b709-dae5c1f1d4a8 | jq .
/api/characters/students
GETRetrieve all Hogwarts students (past and present)
curl -s {base}/api/characters/students
/api/characters/staff
GETAccess information about Hogwarts faculty and staff
curl -s {base}/api/characters/staff
/api/characters/house/:house
GETFind characters from a specific Hogwarts house
curl -s {base}/api/characters/house/gryffindor
/api/spells
GETDiscover all magical spells and their incantations
curl -s {base}/api/spells | jq .
Magical Response
{
"message": "Cast a spell by clicking any endpoint above...",
"hint": "The magic will appear here!"
}
How to Use This Magic
Choose Your Server
Select between production or local server from the dropdown
Select an Endpoint
Pick from characters, spells, houses, or specific searches
Cast Your Spell
Click "Try This Spell" or customize parameters first
Receive Magic
View, format, or download the magical JSON response