I am try to use smartsheet api inside Atlassian Connect app.
can anyboy help me it's possible to use any api inside Atlassian Connect app.
I have write this inside my hello-world.hbs file but I get this error.
Code :
<script>
AP.request({
url: "https://api.smartsheet.com/2.0/sheets/6051615279998852",
type: "GET",
contentType: "application/json",
headers : {
"Authorization": "Bearer 26ewfyvoncsebvkpke6bne8o95"
}
success: function(response){
console.log(response);
},
error: function(err){
console.log(err);
}
});
I get this Error :