Solved
Forum Discussion
Gary_Lon_Brown
Altostratus
Now that I've got it coded that way:
curl -k -X PUT -H Content-Type: application/json -H X-F5-Auth-Token: **** -d {"rules":["/Common/_sys_https_redirect"]} https://****.****.com/mgmt/tm/ltm/virtual/~DevOps~gary-dev.yrcw.com-redir_vs
I get an HTTP 400 with:
The source (::) and destination (*.*.148.61) addresses for virtual server (/DevOps/gary-dev.yrcw.com-redir_vs) must be be the same type (IPv4 or IPv6).
So I guess the question is why does it think the source is blank when the HTTP and HTTPS VIP both have the same IP?
Jul 11, 2022
Hello Gary,
Use PATCH method instead of PUT.
- Gary_Lon_BrownJul 11, 2022Altostratus
Okay, got it. Now it's working. Thanks much.