接口示例 /api/v1.tag_mgr/del : 删除一个标签
[root@frmstock frmtag]#[root@frmstock frmtag]# timestamp=`date +%s` ; authorization=`echo -n "d19638d0-ea32-11ed-8a52-000c2921ab31:$timestamp:/api/v1.tag_mgr/del" | md5sum | cut -d " " -f 1`; curl -v -k "https://tag.frmstock.org.cn/index.php/api/v1.tag_mgr/del" -H "authorization: $authorization" -H "timestamp: $timestamp" -H "Cookie: PHPSESSID=3f8d519d4e6ac8da868a248a5801730b;" -X POST -d "tid=6455af809dc6d6d12269cf72"* About to connect() to tag.frmstock.org.cn port 443 (#0)* Trying 106.14.219.145...* Connected to tag.frmstock.org.cn (106.14.219.145) port 443 (#0)> POST /index.php/api/v1.tag_mgr/del HTTP/1.1> User-Agent: curl/7.29.0> Host: tag.frmstock.org.cn> Accept: */*> authorization: 5619155f6fb3d012112758591b146b6e> timestamp: 1683339675> Cookie: PHPSESSID=3f8d519d4e6ac8da868a248a5801730b;> Content-Length: 28> Content-Type: application/x-www-form-urlencoded>* upload completely sent off: 28 out of 28 bytes< HTTP/1.1 200 OK< Server: nginx/1.20.1< Date: Sat, 06 May 2023 02:21:15 GMT< Content-Type: text/html; charset=UTF-8< Transfer-Encoding: chunked< Connection: keep-alive< X-Powered-By: PHP/7.1.33< Expires: Thu, 19 Nov 1981 08:52:00 GMT< Cache-Control: no-store, no-cache, must-revalidate< Pragma: no-cache<* Connection #0 to host tag.frmstock.org.cn left intact{"status":0,"message":"删除成功","data":[]}[root@frmstock frmtag]#