Login Register

How can I get POST response when crossing-domain request

When I send a POST request cross-domain, (for example, using dojo.io.iframe), how can I receive the post result/response. Because there is no permission to get the post response through iframe textarea directly.

In short, you cannot, given

In short, you cannot, given the browser security model. The dojo.xhr* methods will also not work. dojo.io.script works, but it only allows GETs and there are size restrictions to the size of GETs (normally around 1KB).