03-Jul-2018 06:46
API call not working as per suggested reference neither for virtual-address,pool,node, i tried changing all options but no success , can you let me whats wrong, the auth credentials i am using i am able to login to tmsh and tmos both
https://devcentral.f5.com/wiki/iControlREST.APIRef_tm_ltm_virtual-address.ashx
import requests import json requests.packages.urllib3.disable_warnings() b = requests.session() b.auth = ('XXXXXX', 'XXXXXXX') b.verify = False b.headers.update({'Content-Type':'application/json'}) print b.get('https://10.242.2.133/mgmt/tm/ltm/virtual-address') print b.get('https://10.242.2.133/mgmt/tm/ltm/pool') print b.get('https://10.242.2.133/mgmt/tm/ltm/node')
03-Jul-2018 06:56
i have attached one virtual server address for which i tried api call and that too is unsuccessfull
print b.get('https://10.242.2.133/mgmt/tm/ltm/virtual-address/~vip-4ddev.ihs.com')
print b.get('https://10.242.2.133/mgmt/tm/ltm/virtual-address/~vip-4ddev.ihs.com~')
03-Jul-2020 08:25
Hi I am getting an issue .....one of API hosted on a server is not responding from that server instead it is being redirecting to another server. What could be the issue. How to check .