阅读背景:

获取POST的跨站点JSON响应的最佳实践?

来源:互联网 

I'm working on an intranet with several subdomains. I have control over each subdomain, so security of cross-site requests is not a concern. I have PHP scripts with JSON responses I'd like to call from multiple subdomains without duplication. For GET requests, I can do this with AJAX and JSONP, but that doesn't work with POST requests. Some alternatives I see, none of which seem very good:I'm working on an intranet with several subdoma




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: