How to call a page from another domain to my domai

2019-08-08 18:25发布

I would like to call and show a page from another domain to my domain using ajax/javascript. I would like to hide the original url of the page. (Example in the case of surveymoneky, I can load the survey page in my web site with out showing the surverymonkyes url.)

How can I do it ?

Thanks in advance..

Regards,

Sunil

1条回答
时光不老,我们不散
2楼-- · 2019-08-08 19:25

Due to the SOP (same origin policy) implemented in browsers, you can only retrieve information from another domain using Ajax if the other domain allows that by setting the Access-Control-Allow-Origin response header to the domain where the request originated.

查看更多
登录 后发表回答