Iframe set headers

Hi,

How do I get headers for a iframe?

-Tomas

Hello TomasF,

To set headers to the iframe src you can fetch the content with the desired headers, use getIframe method to get the iframe html element. Using createObjectURL() create a string containing URL and set src attribute.

Please take a look at the example: Code Snippet

1 Like