Reputation: 4967
I am trying to load url in iframe.I am getting the error Refused to display in a frame because it set 'X-Frame-Options' to 'DENY'.Can anybody tell how to overcome this error
Thanks
Upvotes: 4
Views: 8352
Reputation:
You can't, not for just any URL, however, if you own/can get in contact with the owner of the site, then you/they can allow your site to display the theirs in an <iframe>
:
The X-Frame-Options response header
Upvotes: 2