Results 1 to 2 of 2

Thread: Jsonp problem

  1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    7
    Vote Rating
    0
      0  

    Default Jsonp problem

    How to send large amount of websql (localdata) data to server. when i'm using jsonp the data is attached to url so the url not connect to the server. So there is any POST method to send data server

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    JsonP uses a <script> element to load cross domain which will only use GET. To do a POST cross domain, the server needs to support CORS which is just returning a couple extra headers: http://enable-cors.org
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

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