开发者

Does Ajax - cross domain request return the request header?

开发者 https://www.devze.com 2023-02-12 20:41 出处:网络
I know that the ajax-cross domain call will not return the data from server. however, does it return a http header, like 200, 404..开发者_如何学编程etc? It doesn\'t actually fire the request.If it di

I know that the ajax-cross domain call will not return the data from server.

however, does it return a http header, like 200, 404..开发者_如何学编程etc?


It doesn't actually fire the request. If it did, CSRF would be almost impossible to stop...

You can read more about it here and here

But, if you want to fetch content from a different source, check out JSONP

0

精彩评论

暂无评论...
验证码 换一张
取 消