Copy
set -x
echo "invoking restconf nbi"
export REST_HOST=192.168.67.20
curl -k -i -c cookies.txt \
-H "accept: application/json" -X GET https://$REST_HOST/restconf/data/v1/cisco-customer:customer --user root:Public123
curl -k -i -b cookies.txt \
-H "accept: application/json" -X GET https://$REST_HOST/restconf/data/v1/cisco-customer:customer