1.发现:与ohpm私仓交互中,发现客户端操作后会请求audit接口,并且该接口返回404。请求如下:
POST /repos/ohpm/audit HTTP/1.1
version: v1
user-agent: ohpm/5.0.6 node/18.20.1
Content-Type: application/json; charset=UTF-8
Accept: */*
Content-Length: 75
Accept-Encoding: gzip,deflate
Connection: close
Host: localhost:8088
{
"command": {
"uuid": "8cdxxxxxxxxxxxx",
"command": "publish"
}
}
2.问题:该接口的作用是什么? |