'Read the message and forward it to the intake'

def post(self):

    msg = self.request.body
    headers = self.request.headers
    msg_type = self._MSG_TYPE
    if (msg is not None):
        tr = MetricTransaction(msg, headers, msg_type)
    else:
        raise tornado.web.HTTPError(500)
    self.write(('Transaction:    %s' % tr.get_id()))
