async def METHOD_NAME(self, request):
    try:
        request = await request.json()
        msg = request["text"]
        self.inbox.append(msg)
        return web.json_response(
            {"text": "received"}, status=HTTPStatus.OK,
        )
    except:
        return web.json_response(
            {"error": "room uri does not match"},
            status=HTTPStatus.BAD_REQUEST,
        )