{
"header.Accept": "string",
"header.Accept-Encoding": "string",
"header.Accept-Language": "string",
"header.Cache-Control": "string",
"header.Connection": "string",
"header.Host": "string",
"header.Upgrade-Insecure-Requests": "string",
"header.User-Agent": "string",
"id": "string",
"ip": "string",
"is_dir": true,
"params": "string",
"path": "string",
"port": 0,
"mediaServerId": "string"
}curl --location 'http://127.0.0.1:8086/index/hook/on_http_access' \
--header 'Content-Type: application/json' \
--data '{
"header.Accept": "string",
"header.Accept-Encoding": "string",
"header.Accept-Language": "string",
"header.Cache-Control": "string",
"header.Connection": "string",
"header.Host": "string",
"header.Upgrade-Insecure-Requests": "string",
"header.User-Agent": "string",
"id": "string",
"ip": "string",
"is_dir": true,
"params": "string",
"path": "string",
"port": 0,
"mediaServerId": "string"
}'{
"err": "string",
"path": "string",
"second": 600,
"code": 0,
"msg": "string"
}