What is the correct way to postmessage?

Works → top.frames[i].postMessage(json, ‘https://d3h0owdjgzys62.cloudfront.net’);
Does not work → top.frames[i].postMessage(json, ‘https://*.cloudfront.net’);

I assume https://d3h0owdjgzys62.cloudfront.net will change.

top.frames[i].postMessage(json, ‘*’); is not allowed do to security reasons.

Hello @jiwyatt_cisco.com

Can you add a little more context to this

Which product?
Which API?

You can reference with the documentation or code snippet

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.