Hello,
I want to get data from smartsheet api and display in my confluence page.
I have asked these question before, but I didn't get solution can anybody please help me.
I have to allowed incoming URL in my confluence page.
I have read in documentation to add URL to whitelist but, I didn't find option like these in my confluence cloud setting.
Code inside my Html Macro :
<script>
var settings = {
"url": "https://api.smartsheet.com/2.0/sheets/6051615279998852",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer 26ewfyvoncsebvkpke6bne8o95",
"Access-Control-Allow-Origin": "*"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
</script>
Error :
