Files
bamort/backend/doc/api_test.md
T

18 lines
427 B
Markdown
Raw Normal View History

2024-12-21 07:26:27 +01:00
/*
API Testing
Register User:
POST /register
Body: { "username": "test", "password": "12345", "email": "test@example.com" }
Login User:
POST /login
Body: { "username": "test", "password": "12345" }
Create Character:
POST /characters
Body: { "user_id": 1, "name": "Hero", "rasse": "Elf", "typ": "Warrior", "age": 25 }
2024-12-21 07:26:27 +01:00
Get Characters:
GET /characters
*/