def on_post(self, req, resp): finder = Finder() raw = req.stream.read() data = json.loads(raw) resp.status = falcon.HTTP_200 resp.set_header('Access-Control-Allow-Origin', '*') resp.body = (finder.findMultipleDevices(data['Clients']))