Create a context
Use the following command to create a context:
curl -H "Content-Type: application/json" -X POST -d '{"contextId":"DemoContext1","groupId":"demo","data":{"key1_name":"value1_data","key2_name":"value2_data","key3_name":"value3_data"}}' http://<IP_ADDRESS> /services/ContextStoreRest/cs/contexts/
For secured clusters, use the following command to create a context:
curl -H "Content-Type: application/json" -X POST -d '{"contextId":"DemoContext1","groupId":"demo","data":{"key1_name":"value1_data","key2_name":"value2_data","key3_name":"value3_data"}}' https:<IP_ADDRESS> /services/ContextStoreRest/cs/contexts/ -k