You can easily access the Abiquo GUI by using a token as URL parameter.
Basically, we need to obtain a token. To do this just perform a simple API call:
curl --verbose 'http://192.168.1.100/api/' -X "GET" -u user:password | grep -i "auth"
Find out the "auth" parameter in the call output:
< Set-Cookie: auth=YWRtaW46MTM2Mzk4NzYyMTQ1MjpiZDUxYWY3MTUyNzJhMDY4YWIyMmNmNmRkZGMzOGNhNDpBQklRVU8; Expires=Fri, 22-Mar-2013 21:27:01 GMT; Path=/api
Now, you can access the Abiquo GUI by using this parameter in the URL
http://192.168.1.100/client-premium/?auth=YWRtaW46MTM2Mzk4NzYyMTQ1MjpiZDUxYWY3MTUyNzJhMDY4YWIyMmNmNmRkZGMzOGNhNDpBQklRVU8
1 Comments