def METHOD_NAME(request, app: str = None):
    if request.body and app == "video":  # we develop only video statement
        body_unicode = request.body.decode("utf-8")
        body = json.loads(body_unicode)
        METHOD_NAME = {
            "actor": {
                "name": "%s" % get_actor_name(request),
                "mbox": "mailto:%s" % get_actor_mail(request),
            },
            "id": str(uuid.uuid4()),
        }
        for key, value in body.items():
            METHOD_NAME[key] = value
        if validate_statement(METHOD_NAME) and XAPI_LRS_URL != "":
            send_xapi_statement_task.delay(METHOD_NAME)
        return JsonResponse(METHOD_NAME, safe=False)
    raise SuspiciousOperation(
        "none post data was sent and app parameter has to be equals to video"
    )