       cellId: mapCell
       tyku: tyku
       rank: rank
-    # TODO: post data to backend
+    try
+      yield request.postAsync "http://#{TEST_HOST}/tyku.action",
+        form:
+          data: JSON.stringify info
+        headers:
+          'User-Agent': "Kcwiki Reporter v#{REPORTER_VERSION}"
+    catch err
+      console.log err
+
 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?
        # TODO: post data to backend
  # Drop ship report
  window.addEventListener 'battle.result', async (e) ->
    {rank, map, mapCell, dropShipId, deckShipId } = e.detail

request = Promise.promisifyAll require 'request'
REPORTER_VERSION = '1.0.0'
KCWIKI_HOST="dev.kcwiki.moe/kwks"
TEST_HOST="133.130.100.133:8080/kwks"

{getTyku, sum, hashCode} = require './common'
if config.get('plugin.KcwikiReporter.enable', true)
