Forum Discussion
Maneesh_72711
Cirrostratus
Oct 04, 2018Issue in making API calls to F5 LTM/GTM.
I am having issues in making API calls to F5 running ver12.1.2. Attached is the screenshot of the Authorization Failed error.
Can someone help, there are other F5's running same version 12.1.2 w...
Lee_Sutcliffe
Nacreous
Oct 04, 2018If you haven't already authorised, you'll need to obtain the auth token and use the token in the X-F5-Auth-Token header in all subsequent requests. You could also use HTTP Basic auth an include the username and password in each requsts, but this isn't recommented
cURL example using X-F5-Auth-Token
curl -X GET -H "Content-Type: application/json" -H "X-F5-Auth-Token: QWERTYUIOPASDFGHJKL" -H "Cache-Control: no-cache" "https://f5-ip-address/mgmt/tm/sys/connection?options=all-properties&ver=13.1.0.4"
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