Results 1 to 5 of 5

Thread: Cross domain form POST

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    2

    Default Cross domain form POST

    I'm using a form panel and trying to post to a url outside of my domain. I've looked in a lot of places and still can't find the answer. How can I do this?

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,449

    Default

    Standard submit is the only way then.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    2

    Default

    Hmm, thanks for the answer. I'm kinda new at this. I'm primarily an iOS developer

  4. #4
    Sencha User
    Join Date
    Sep 2012
    Posts
    5

    Default

    Ok, I realize this post is really old, but it looks like what you want may be possible from a web page if you set your server up for CORS (Cross-Origin-Resourse-Sharing).

    Sencha documentation of Ajax: http://docs.sencha.com/touch/2-0/#!/guide/ajax
    Document on CORS: http://enable-cors.org/

    Another option is if the service you're calling supports JSON-P:
    http://json-p.org/

    --Bryan

    Disclaimer: I'm new to Sencha Touch and haven't used CORS myself. I think there's another option called JSONP that allows

  5. #5
    Sencha User
    Join Date
    Apr 2013
    Location
    Hyderabad
    Posts
    37

    Default

    If i use standardsubmit then the application reloads.
    How to take care of this problem??
    --
    Abhi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •