Hi All,

 I posted this question on stackOverflow:
http://stackoverflow.com/questions/27900570/angularjs-http-post-request-different-results-with-then-and-success

Basically it comes down to this: (I use angular 1.2.26)

   1. I* invoke an HTTP* service with a application/x-www-form-urlencoded 
   header
   2. I handle the result with the* success *handler on my $http promise. 
   It works, great!
   3. I want to use the *'then'* function instead of *'succes'*, so I 
   change the code into working with 'then'
   4. Now my *server impl crashes* when I invoke the same service, *reason:* 
   my *transformRequest *function returns a* totally different result.*

Anybody knows why *transformRequest *can return different results when 
using *'then'* and *'succes'* ?

Thanks in advance,

Tim

-- 
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/d/optout.

Reply via email to