<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1">
<title>
</title>
<script src="js/jQuery.js" type="text/javascript">
</script>
<script type="text/javascript">
$(document).ready(function() {
jQuery.support.cors = true;
$.ajax({
type: "POST",
headers: {
"Authorization": "ODQtMTc2LWljb21t0:freedom"
},
crossDomain: true,
url: "http://api.icommarketing.com/Contacts/List.Json/",
data: '{"profile_key":"ODQwMA2", "param":{}}',
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(response) {
$("#lblResult").html(response.ListContactsJsonResult[0].Email);
},
error: function(response) {
$("#lblResult").html(response.responseText);
}
});
});
</script>
</head>
<body>
<form action="./" id="form1" method="post">
<div class="aspNetHidden">
<input id="__VIEWSTATE" name="__VIEWSTATE" type="hidden" value="/wEPDwULLTE2MTY2ODcyMjlkZCJkG10+CvUPZQyZ03iew45wwrC7aEb5eqUgiigGrpCq">
</div>
<div class="aspNetHidden">
<input id="__VIEWSTATEGENERATOR" name="__VIEWSTATEGENERATOR" type="hidden" value="CA0B0334">
</div>
<div>
<span id="lblResult">
</span>
</div>
</form>
</body>
</html>