POST /attack/Fire

Changed on

Attacks to the planet with given weapon.

Request

  • Base URL
    https://localhost:3000/api
  • Auth
    none declared

Request body

weaponNamestring required
planetNamestring required

Example request

{
  "weaponName": "Death Star",
  "planetName": "Alderaan"
}

Response

Example attack result

Changes