   robot.router.post '/brian/screenshot/:room', (req, res) ->
     room = req.params.room
 
-    console.log "SCREENSHOTS: got #{req}, #{res}"
-
-    data = JSON.parse res.body.payload
-    console.log "SCREENSHOTS: parsed to: #{data}"
-
+    data = JSON.parse req.body.payload
     screenshots = data.screenshots ? []
 
     for screenshot in screenshots

  msg.http(api_url)
    .auth(username, api_key)
    .post(QS.stringify(q)) (err, res, body) ->
      console.log res, body
      cb()


      if screenshot_url
        robot.messageRoom room, "#{screenshot.url} in #{screenshot.browser} #{screenshot.browser_version} running under #{screenshot.os} #{screenshot.os_version}: \n#{screenshot_url}"

    robot.messageRoom room, "Done."

    res.writeHead 204, { 'Content-Length': 0 }
    res.end()

  robot.respond /screenshot( me)? (.*?) under (.*)/i, (msg) ->
    try
