I am using the following API Request:
*/api.ashx/v2/groups/groupId/blogs.xml
HEADER Parameters:
Authorization: access_token
When I send the GET Request, I get a 200, but I see the below item:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">www.w3.org/.../xhtml1-transitional.dtd">
<head id="Head1">
<title>
Restricted Access
</title>
</head>
<style>
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
a {
color: #1785C2;
}
body {
background-color: #FFFF;
color: #1785C2;
font-family: Arial;
font-size: 10.5pt;
}
#authBox {}
* {
margin: 0px auto;
padding: 0;
}
div#shim {
visibility: hidden;
width: 100%\9;
/* IE8 and below */
height: 50%;
margin-top: -200px;
float: left;
}
div#wrapper {
background: white;
font-size: 16px;
letter-spacing: 0;
line-height: 1.4em;
overflow: hidden;
padding: 15px;
position: relative;
text-align: center;
width: 1000px;
top: -200px;
/* IE4ever Hack: Hide from IE4 **/
position: static;
/** end hack */
}
/* Hide from IE5mac \*/
/*/
div#shim {
display: none;
}
html, body {
height: auto;
}
/* end hack */
/* ]]> */
div#wrapper p {
margin-bottom: 15px;
}
</style>
<body>
<div id="shim"></div>
<div id="wrapper">
<form name="form1" method="post"
action="./blogs.json?404%3bhttps%3a%2f%2fthebridge-adp-com.telligenthosting.net%3a443%2fapi.ashx%2fv2%2fgroups%2fscp-help-content-test%2fblogs.json"
id="form1">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="6RQnNS3sfS5RjkP0zzdmCjUjclQCWHcjp1eCX3jjvOIAE/IPni1+6/5B+Z0pvHHRcpmBVwW6Xpz3vJbiYzA3fsTGQfh8cFLMIBAZdFBNQlQ=" />
<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="75AAC348" />
<p>
The site you have reached is has restricted access. Please enter the site access code to proceed.
</p>
<p><span id="lblAuthMessage"></span></p>
<p>
<center>
<span id="lblAuthCode">Access Code:</span>
<input name="txtAuthCode" type="password" id="txtAuthCode" onkeydown="if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) {document.getElementById('authButton').click();return false;}} else {return true}; " />
<input type="submit" name="authButton" value="Go" id="authButton" />
</center>
</p>
</form>
</div>
</body>
</html>
Did I fail to pass a HEADER parameter?
I'm new to this API, so any help greatly appreciated.
Thanks,