20
Views
3
Comments
Add Headers in iframe for API URL
Question
Application Type
Reactive

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!


2023-02-09 12-36-42
Damian Fonville

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/

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.