Help for this page

Select Code to Download


  1. or download this
    (Command Line Example that works)
    shell#curl -d 'level=2&pass=password&hsam_timeout=20' -k https://1.1.1
    +.1/auth
    ...
    $curl->setopt(CURLOPT_SSL_VERIFYPEER,0); 
    $curl->setopt(CURLOPT_SSL_VERIFYHOST,0); 
    my $code = $curl->perform;
    
  2. or download this
    $curl->setopt( CURLOPT_POST, 1);
    $curl->setopt( CURLOPT_POSTFIELDSIZE, 100);
    $curl->setopt( CURLOPT_POSTFIELDS, "level=2&pass=password&hsam_timeout
    +=20");
    
  3. or download this
    > POST /auth?level=2&pass=password&hsam_timeout=20 HTTP/1.1
    Host: 10.2.200.101
    ...
    < Server: httpd
    < 
    * Closing connection #0