From c71213ce860850f59e7bd933659df52174b4f1e6 Mon Sep 17 00:00:00 2001 From: songwenping Date: Mon, 20 Mar 2023 14:49:50 +0800 Subject: [PATCH] Add attribute create request Change-Id: Ic28d1cf6ace8dfd1676faf34bf52fe10cccacbf1 --- doc/api_samples/attributes/attributes-post-curl.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/api_samples/attributes/attributes-post-curl.json diff --git a/doc/api_samples/attributes/attributes-post-curl.json b/doc/api_samples/attributes/attributes-post-curl.json new file mode 100644 index 00000000..f6e86026 --- /dev/null +++ b/doc/api_samples/attributes/attributes-post-curl.json @@ -0,0 +1,8 @@ +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"'