Forum Discussion
fraandres
Mar 24, 2023Nimbostratus
iRule datagroup sideband
I been trying to use HSSR to use a curl to add an IP to a datagroup, here is my code but still can't figure out what I"m missing the curl works if I use this, but Need to use it on a iRule any help ...
JRahm
Mar 28, 2023Admin
Hi fraandres, you might reformat your question to put all code and debug info in code blocks so it's easier to read. If I'm following correctly, in using the HSSR, you should just need to pass the details of your request, it will not be able to do anyting with curl:
call /Common/HSSR::http_req \
-uri "http://localhost/mgmt/tm/ltm/data-group/internal/active_visitor_ips?options=records%20add%20%7b%2010.125.135.5%20%7b%20data%20IP%20%7d%20%7d" \
-method PATCH \
-rbody
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects