import falcon
import json
class CResourse(object):
def on_post(self, req, res):
data = json.load(req.stream)
res.status = falcon.HTTP_200
res.body = 'ddd'
app = falcon.API()
app.add_route('/callback', CResourse())