Hello,
I am trying to understand how to pass header information to the iframe URL.
1. I have taken one HTML element and set it up as iframe.
2. I am passing the API URL in the 'src' property of the iframe.
3. Now I want to pass the Authorization and Content-Type in the header. I have tried with the Javascript and also tried setting up the default values of the headers in the API itself but nothings working.
Any help would be appreciated.
Thank you in advance!
Hi,
I found this post on the forum, it might help. I haven't tried it myself. https://www.outsystems.com/forums/discussion/65426/iframe-web-with-custom-add-header/
Tried this already. Not working!
I also found this post https://stackoverflow.com/questions/13432821/is-it-possible-to-add-request-headers-to-an-iframe-src-request