Skip to content

Instantly share code, notes, and snippets.

Created July 1, 2015 22:49
Show Gist options
  • Save anonymous/51ef5570e0cd1dc67893 to your computer and use it in GitHub Desktop.
Save anonymous/51ef5570e0cd1dc67893 to your computer and use it in GitHub Desktop.
Can't correctly set cookie value in the header
session_token = obtained from authentication call which returns valid cookie value back...
.
.
.
data_response = RestClient.post(url,feats, :cookies => {"NITRO_AUTH_TOKEN" => session_token}, :content_type => "application/vnd.com.citrix.netscaler.nsconfig+json")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment