JSONP does NOT work for POST only for GET - for POST you must use CORS statements Sent from my LG Mobile
Jeff Hubbard <[email protected]> wrote: >You have two choices: one, support Cross-Origin Resource Sharing; two, use >JSONP. What, specifically, you need to post and how you need it returned >will dictate which method you use. > >On Saturday, January 11, 2014 6:22:51 AM UTC-8, Ashutosh Das wrote: >> >> How to send data using $http.post from different domain . By default it >> throws "Access-Control-Allow-Origin" . >> > >-- >You received this message because you are subscribed to the Google Groups >"AngularJS" group. >To unsubscribe from this group and stop receiving emails from it, send an >email to [email protected]. >To post to this group, send email to [email protected]. >Visit this group at http://groups.google.com/group/angular. >For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
