Forum Discussion
Lee_Sutcliffe
Oct 04, 2018Nacreous
If 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"