Hacker News new | ask | show | jobs
by tchvil 5416 days ago
You can make a cross domain POST with an IFRAME but would not get the response directly. Having to use parent.postMessage, the window.name hack or polling with JSONP depending on the browser. Possible then, but not so easy.
1 comments

Those hacks don't work on all platform (iframe for mobile is a good example) and often require you to have very particular setting on both sites. The only way for JSONP to work well on everything is to use script tag injection which only allows you to do GET request.
This works well on iPhone and Android mobiles. And has the same level of particular settings as JSONP.