def create_table(): table_name = request.args.get('table_name') data = g.db.create_table(table_name) return json.dumps(data)