Forum Discussion

loveen_355250's avatar
Icon for Nimbostratus rankNimbostratus
Jul 03, 2018

API call not working on F5

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


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('') print b.get('') print b.get('')



3 Replies