update samples

Change-Id: Ic910045e5209791193d8b76c2a395684bbdeff50
This commit is contained in:
maliangyi 2023-09-14 15:37:55 +08:00
parent 0feeee3b19
commit caaebe69fd
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
curl -X POST "http://10.49.38.57:10010/v1/anomaly/rule" \
curl -X POST "http://127.0.0.1:10010/v1/anomaly/rule" \
-d '{"title": "test", "desc":"test", "keyword": "out of memory", "log_type":"flog", "module":"nova"}'
-H 'X-Auth-Token: 124'
-H 'Content-type: application/json'

View File

@ -1,3 +1,3 @@
curl -X DELETE "http://10.49.38.57:10010/v1/anomaly/record/1" \
curl -X DELETE "http://127.0.0.1:10010/v1/anomaly/record/1" \
-H 'X-Auth-Token: 124'
-H 'Content-type: application/json'

View File

@ -1,3 +1,3 @@
curl -X GET http://10.49.38.57:10010/v1/anomaly/record/list \
curl -X GET http://127.0.0.1:10010/v1/anomaly/record/list \
-H 'X-Auth-Token: 124'
-H 'Content-type: application/json'