Why are AJAX requests limited to same domain?

前端 未结 4 973
南旧
南旧 2020-12-11 04:15

Something I find really confusing, is why are AJAX requests limited to the same domain? What is the reasoning behind this?

I don\'t see any problem with requesting

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-11 04:40

    Here is some information to satisfy your question: http://en.wikipedia.org/wiki/Same_origin_policy

提交回复
热议问题