facebook

weird cross domain error

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #318980 Reply

    SonamGyato
    Member

    i’m doing an http GET from a resource from the
    same domain that hosts my app.

    but i’m getting an error status of 0 which usually
    means access error.

    just in case – i also set the http return header

    Access-Control-Allow-Origin to *

    this is on the iphone.

    on the emulator it works with the localhost enabled – but
    now sure what the option does.

    #319017

    SonamGyato
    Member

    i’ve narrowed this problem down to

    on the iphone device itself.

    cross-domain GET fails.

    POST on the same resource passes.

    (on the server i run the same code for both GET/POST).

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: weird cross domain error

You must be logged in to post in the forum log in