JulienDebbia_20
Jan 05, 2016Nimbostratus
iControlREST - Create peristence profile
Hello,
I would like to know how can I create a persistence profile (like cookie) with the restAPI.
I'm able to get TCP or HTTP profile but I didn't find how to get persistence profiles. ...
- Jan 05, 2016
try this:
curl -sk -u admin:admin https://192.168.1.252/mgmt/tm/ltm/persistence/cookie -H 'Content-Type: application/json' -X POST -d '{"partition":"my_partition","name":"persist_cookie","defaultsFrom":"/Common/cookie","cookieName":"lbsticky"}'