I'm currently in a situation where I have to use $resource despite preferring $http, because some portals, proxies, gateways and firewalls mess with our requests, and we have ways to fix that in $resource which don't work (or haven't yet been applied to) $http.
So that's also a possibility. I need to do a POST to get some data from a server, which isn't exactly the right way to do REST, but I still need to use $resource. mcv. On Tue, Dec 17, 2013 at 4:39 PM, troog <venkates...@gmail.com> wrote: > Thanks a lot > > > On Tuesday, December 17, 2013 8:25:58 AM UTC+1, Sander Elias wrote: >> >> Hi Troog, >> >> You should use $resource if your server has a REST >> <http://stackoverflow.com/tags/rest/info>api. If it doesn't you need >> $http >> >> Regards >> Sander >> > -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to angular@googlegroups.com. > 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 angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.