Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo11、12ajax请求问题 #42

Closed
AlbertXiao1994 opened this issue Jan 2, 2018 · 2 comments
Closed

demo11、12ajax请求问题 #42

AlbertXiao1994 opened this issue Jan 2, 2018 · 2 comments

Comments

@AlbertXiao1994
Copy link

请问在Demo11、12,使用jquery发起的ajax请求,是json请求不是jsonp请求,为什么同源策略不起作用,浏览器仍正常发送

@ruanyf
Copy link
Owner

ruanyf commented Jan 2, 2018

Github API 开启了 CORS,支持跨域请求。

@ruanyf ruanyf closed this as completed Jan 2, 2018
@AlbertXiao1994
Copy link
Author

谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants