- GET (endpoint: "/getHitmanById/{id}")
- GET (endpoint: "/getAllHitmans")
- DELETE (endpoint: "/deleteHitman/{id}")
- PUT (endpoint: "/editHitman")
- POST (endpoin: "/createHitman"):
Hitman Body Example:
{
"id": 1,
"hitmanName": "John Wick",
"hitmanContry": "New York",
"hitmanAge": 33,
"hitmanWeapon": "M4A1",
"hitmanExcommunicado": 1
}
- GET (endpoint: "/getWeaponById/{id}")
- GET (endpoint: "/getAllWeapons")
- DELETE (endpoint: "/deleteWeaponById")
- PUT (endpoint: "/editWeapon")
- POST (endpoint: "/createWeapon"):
Weapon Body Example:
{
"id": 1,
"weaponName": "M4A1",
"weaponQuantity": 3,
"hitmanLinkId": 2
}