search

Home  >  Q&A  >  body text

Why can backend proxies cross domains?

Why can the back-end proxy settings be cross-domain?
Don’t quite understand

欧阳克欧阳克2710 days ago696

reply all(3)I'll reply

  • 欧阳克

    欧阳克2017-06-14 10:54:51

    The same-origin policy is the browser's security policy and is not part of the HTTP protocol.

    When calling the HTTP interface on the server side, it only uses the HTTP protocol and does not execute JS scripts. There is no need for a same-origin policy, so there is no cross-over problem.

    reply
    0
  • 怪我咯

    怪我咯2017-06-14 10:54:51

    Why is there cross-domain? It is the security policy of the browser. Without the browser, there would be no cross-domain.

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-06-14 10:54:51

    Cross-domain is originally the same origin strategy of js

    reply
    0
  • Cancelreply