Yeah I tried that.
Here is the dump of the request and response.....I do see that NTLM
seems to not be a supported authentication scheme. Is this the
problem?
--Performing request now...-----------
$VAR1 = bless( {
'_content' => '',
'_uri' => bless( do{\(my $o = '
http://targetprocess/
TargetProcess2/api/v1/UserStories/')}, 'URI::http' ),
'_headers' => bless( {
'authorization' => 'Basic
YWRtaW46YWRtaW4='
}, 'HTTP::Headers' ),
'_method' => 'GET'
}, 'HTTP::Request' );
--Done with request-------------------
It didn't work!->401
$VAR1 = bless( {
'_protocol' => 'HTTP/1.1',
'_content' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD
HTML 4.01//EN" "
http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>You are not authorized to view this page</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html;
charset=Windows-1252">
<STYLE type="text/css">
BODY { font: 8pt/12pt verdana }
H1 { font: 13pt/15pt verdana }
H2 { font: 8pt/12pt verdana }
A:link { color: red }
A:visited { color: maroon }
</STYLE>
</HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD>
<h1>You are not authorized to view this page</h1>
You do not have permission to view this directory or page using the
credentials that you supplied.
<hr>
<p>Please try the following:</p>
<ul>
<li>Contact the Web site administrator if you believe you should be
able to view this directory or page.</li>
<li>Click the <a href="javascript:location.reload()">Refresh</a>
button to try again with different credentials.</li>
</ul>
<h2>HTTP Error 401.1 - Unauthorized: Access is denied due to invalid
credentials.<br>Internet Information Services (IIS)</h2>
<hr>
<p>Technical Information (for support personnel)</p>
<ul>
<li>Go to <a href="
http://go.microsoft.com/fwlink/?
linkid=8180">Microsoft Product Support Services</a> and perform a
title search for the words <b>HTTP</b> and <b>401</b>.</li>
<li>Open <b>IIS Help</b>, which is accessible in IIS Manager
(inetmgr),
and search for topics titled <b>Authentication</b>, <b>Access
Control</b>, and <b>About Custom Error Messages</b>.</li>
</ul>
</TD></TR></TABLE></BODY></HTML>
',
'_rc' => 401,
'_headers' => bless( {
'x-powered-by' => '
ASP.NET',
'client-response-num' => 1,
'date' => 'Thu, 08 Sep 2011
15:49:19 GMT',
'client-peer' =>
'
192.168.1.142:80',
'content-length' => '1539',
'client-warning' =>
'Unsupported authentication scheme \'ntlm\'',
'client-date' => 'Thu, 08 Sep
2011 15:49:19 GMT',
'content-type' => 'text/html',
'www-authenticate' => [
'Negotiate',
'NTLM'
],
'server' => 'Microsoft-IIS/
6.0',
'title' => 'You are not
authorized to view this page'
}, 'HTTP::Headers' ),
'_msg' => 'Unauthorized',
'_request' => bless( {
'_content' => '',
'_uri' => bless( do{\(my $o =
'
http://targetprocess/TargetProcess2/api/v1/UserStories/')},
'URI::http' ),
'_headers' => bless( {
'user-
agent' => 'libwww-perl/5.837',
'authorization' => 'Basic YWRtaW46YWRtaW4='
},
'HTTP::Headers' ),
'_method' => 'GET',
'_uri_canonical' => $VAR1-
>{'_request'}{'_uri'}
}, 'HTTP::Request' )
}, 'HTTP::Response' );