           slots: body.api_eSlot
           param: body.api_eParam
         console.log JSON.stringify info if process.env.DEBUG?
-        # TODO: post data to backend
+        try
+          yield request.postAsync "http://#{TEST_HOST}/enemy.action",
+            form:
+              data: JSON.stringify info
+            headers:
+              'User-Agent': "Kcwiki Reporter v#{REPORTER_VERSION}"
+        catch err
+          console.log err
       when '/kcsapi/api_req_sortie/battleresult', '/kcsapi/api_req_combined_battle/battleresult'
         decks = []
         decks = (_decks[0].api_ship.concat _decks[1].api_ship)

      cellId: mapCell
      tyku: tyku
      rank: rank
    # TODO: post data to backend
module.exports =
  name: 'Kcwiki-Reporter'
  author: [<a key={0} href="https://github.com/grzhan">grzhan</a>]

        info =
          ships: data
        console.log JSON.stringify info if process.env.DEBUG?
        try
          yield request.postAsync "http://#{TEST_HOST}/initEquip.action",
            form:
              data: JSON.stringify info
            headers:
              'User-Agent': "Kcwiki Reporter v#{REPORTER_VERSION}"
          .spread (response, body) ->
            console.log "updateData.action reply: #{body}" if process.env.DEBUG?
        catch err
          console.log err

  # Drop ship report
  window.addEventListener 'battle.result', async (e) ->
    {rank, map, mapCell, dropShipId, deckShipId } = e.detail
