Hi Robert, The url is a part of Codeigniter framwork, it's constructed that way. And regardless if I am using post or get (without params) the web service is executed (and returns data as it should) but nothing is found in Angular, http, data=nil and status=0
Den måndag 8 juni 2015 kl. 15:38:09 UTC+2 skrev Robert STAICU: > > $http.get('http://www.url.se/index.php/io' >>> ). >>> >> http://www.url.se/index.php/io > > Why index.php? Also on post shouldn't you send an object and not a string? > $http.post('http://www.url.se/index.php/io', "transid=" + > encodeURIComponent("21") > ). > > Have a nice day. I hope it helps > -- 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/d/optout.