different results for transformRequest function in $http when doing a form based http POST. 'succes' function versus 'then'
2015-01-16 13:18:27 GMT
- I invoke an HTTP service with a application/x-www-form-urlencoded header
- I handle the result with the success handler on my $http promise. It works, great!
- I want to use the 'then' function instead of 'succes', so I change the code into working with 'then'
- Now my server impl crashes when I invoke the same service, reason: my transformRequest function returns a totally different result.
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 angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.