def put_paste(): data = request.get_data() print(data) p = Paste() return "pasted to id: %s" % (p.put(data))