cyborg/doc/api_samples/attributes/attributes-post-curl.json
songwenping c71213ce86 Add attribute create request
Change-Id: Ic28d1cf6ace8dfd1676faf34bf52fe10cccacbf1
2023-03-20 14:49:50 +08:00

9 lines
258 B
JSON

curl -g -i -X POST $cyborg_endpoint_url/attributes \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "User-Agent:None" \
-H "X-Auth-Token: yourtoken" \
-d '{"deployable_id": "1",
"key": "rc",
"value": "FPGA"'