---
title: "POST /attack/Fire"
method: POST
path: "/attack/Fire"
---

# POST /attack/Fire

`POST /attack/Fire`

## Request

- Base URL: `https://localhost:3000/api`
- URL: `https://localhost:3000/api/attack/Fire`
- Auth: none declared

Attacks to the planet with given weapon.

## Request body

- object
  - `weaponName` string, required
  - `planetName` string, required

## Response `200`

Example attack result

## Other responses

- `422`: Missing parameters

## Changes

- **2019-07-12** `4fd45d27b6c6`: 1 info
  - endpoint added
- **2019-07-12** `40280ca58cd5`: 1 breaking
  - api path removed without deprecation
- **2019-07-09** `7c98ed8fa17a`: 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2019-07-02** `486d1f6ec398`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pankod/apis/pankod-moleculerjs-boilerplate/changes/attack/Fire/post.md)

---

[API](https://skmtc.dev/pankod/apis/pankod-moleculerjs-boilerplate.md) - [All operations](https://skmtc.dev/pankod/apis/pankod-moleculerjs-boilerplate/llms.txt) - [OpenAPI document](https://skmtc.dev/pankod/apis/pankod-moleculerjs-boilerplate/revisions/e435e2b867fd?raw)
