Help for this page

Select Code to Download


  1. or download this
    curl -i -k -H "Accept:application/*+xml;version=1.5" -u "username@syst
    +em:password" -X post https://something/api/sessions
    
  2. or download this
    HTTP/1.1 200 OK
    Date: Mon, 17 Jun 2013 08:19:59 GMT
    ...
    Content-Type: application/session+xml;version=1.5
    Date: Mon, 17 Jun 2013 08:20:00 GMT
    Content-Length: 1055
    
  3. or download this
    #!usr/bin/perl -w
    use strict;
    ...
    
    $client->POST($url,$headers);
    print $client->responseContent();