Hi,
The objective is to get JSON data from the webhook server.
I am getting a failure on the HTML+ portlet when using the fetch API to do a REST POST Request to the webhook server:
Refused to connect to 'flaalmmvb01.mtn.co.za:5000/.../OctaneDetails' because it violates the following Content Security Policy directive: "default-src blob: 'self' 'unsafe-inline' 'unsafe-eval' img.youtube.com app.powerbi.com admhelp.microfocus.com www.youtube.com". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
sendPostRequest @ VM507:22Understand this error
16:59:44.493 VM507:22 Refused to connect to 'flaalmmvb01.mtn.co.za:5000/.../OctaneDetails' because it violates the document's Content Security Policy.
sendPostRequest @ VM507:22Understand this error
16:59:44.493 VM507:37 Error fetching data: TypeError: Failed to fetch
at HTMLButtonElement.sendPostRequest (eval at eval (PortletUtilitiesJS.jsp:477:25), <anonymous>:22:5)
Regards,
Alfred Puth
iOCO: Senior PPM Consultant