... | ... | @@ -25,3 +25,9 @@ http://0.0.0.0:80/endpoints/aim/eyJwb3J0Ijo4MCwic2VydmljZSI6ImFpbXN0YWNrLmFwdWxp |
|
|
|
|
|
curl -X POST -d '[{"name":"test_1"}]' http://0.0.0.0:80/endpoints/aim/eyJwb3J0Ijo4MCwic2VydmljZSI6ImFpbXN0YWNrLmFwdWxpcy5zdmMuY2x1c3Rlci5sb2NhbCJ9/api/runs/df12e1de38b141fb9e804161/metric/get-batch
|
|
|
{"detail":[{"loc":["body"],"msg":"value is not a valid list","type":"type_error.list"}]}
|
|
|
|
|
|
|
|
|
可行的调用:
|
|
|
```
|
|
|
curl -H "Content-Type: application/json" -X POST -d '[{"context": "", "name":"test_1"}]' http://0.0.0.0:80/endpoints/aim/eyJwb3J0Ijo4MCwic2VydmljZSI6ImFpbXN0YWNrLmFwdWxpcy5zdmMuY2x1c3Rlci5sb2NhbCJ9/api/runs/df12e1de38b141fb9e804161/metric/get-batch
|
|
|
``` |