prettify-appspot.com blocks xxx.attlassian.net api requests to itself - cors
I have javascript code inside an html-macro page content in a whatever.atlassian.net/wiki
page. It calls api at https://performancesystems.atlassian.net/wiki/rest/api/....
but gets blocked by CORS, because it is actually being executed under location
https://prettify-******.appspot.com/html?...
Can I get around this prettify service, or permis CORs between prettify...appspot.com and whatever.atlassian.net/wiki ?
=======
I Got a good answer from Nar Kumar of Bitwelt Software.
From inside the html-macro instance use AP.request
It bypasses CORS lmitation to Concluence REST API
Nar Kumar directed me to https://developer.atlassian.com/cloud/confluence/jsapi/request/