cURL
curl --request POST \ --url http://127.0.0.1:22100/v1/config/validate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'
{ "ok": true, "generation": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
原始 Arc 配置 JSON 文档。
配置有效