def do_POST(self):
        self.send_response(urllib2.httplib.OK)
        self.end_headers()
        contentLength = int(self.headers['Content-Length'])
        data = self.rfile.read(contentLength)
        print(data)
        self.wfile.write('data: %s\n' % str(data))

        self.wfile.write('Client: %s\n' % str(self.client_address))
        # self.wfile.write('User-agent: %s\n' % str(self.headers['user-agent']))
        self.wfile.write('Path: %s\n' % self.path)

        self.processPayload(data)

        return
Generate an SVG legend graphic from GIBS color map.
dataset/ETHPy150Open boundary/pulse-api-cli/boundary/webhook_handler.py/WebhookHandler.do_POST--crossover with--dataset/ETHPy150Open nasa-gibs/onearth/src/layer_config/bin/oe_configure_layer.py/generate_legend