Mar 06, 2017
cURL Citrix UI login
I have a working health monitor logging into a citrix web UI and I'm trying to craft a cURL command to replicate this but failing, any advice appreciated.
Send String
POST /Citrix/Store_Test/ HTTP/1.0\r\nUser-Agent: F5Monitor\r\nHost: vds.test\r\nContent-Length: 78\r\nContent-Type: application/x-www-form-urlencoded\r\n\r\nLoginType=Explicit&user=TEST123&password=TEST123&domain=TEST\r\n
Receive String
Location: /Citrix/Store_Test/ *WIAuthId=
cURL Command
curl -vkX POST https://192.168.100.100/citrix/Store_Test/ HTTP/1.0\r\n -A F5Monitor -H vds.test -H "Content-Length: 80" -H Content-Type: application/x-www-form-urlencoded -u "TEST123:TEST123"