Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,20 @@ Returns a single fighter's information. **:fighter** is the fighter's ID number.
##### /api/v0/fighter/add

Adds a fighter to the database.
Must contain *form* data and the body must contain:
**player_name**: The name of the player this fighter will belong to
**fightername**: The complete name of the fighter
Must contain *x-www-form-urlencoded* data and the body must contain:
**player_name**: The name of the player being created

##### /api/v0/fighter/remove/:fighter

Removes a fighter from the database by fighter_UID

##### /api/v0/player/add

Adds a fighter to the database.
Must contain *x-www-form-urlencoded* data and the body must contain:
**playername**: The name of the player this fighter will belong to
**playerUID**: The complete name of the fighter

##### /api/v0/player/remove/:player

Removes a player from the database by player_UID
Loading