Connecting Holding API Call on Client side

mastertrader21
Hello Team,

I am trying to call holding api in client side but its give the following error kindly help me.




And following are my client side code.
function LoadDashboard()
{
var Parameter = "?api_key=" + "XXX" + "&access_token=" + "YYYY";
$.ajax({
type: "Get",
url: "https://api.kite.trade/portfolio/holdings" + Parameter,
success: function (data) {
console.log(data);
},
error: errorFunction,
});
}
Sign In or Register to comment.