Can I make an XMLHttpRequest to another domain?

后端 未结 7 1533
面向向阳花
面向向阳花 2021-02-18 18:29

Is there a way to use XMLHttpRequest in combination with other domains?

I would like to parse some xml from Google without having to use a server so it is minimalistical

相关标签:
7条回答
  • 2021-02-18 18:51

    You can try to do something on the serverside. So on your application you make the request to the remote site getting the result and returning it to your client. The AJAX call is then only calling your own server and works.

    0 讨论(0)
提交回复
热议问题