Hmmmmm.. I replaced my url with:

https://api.github.com/users/mralexgray/repos

as a test - then it worked... Now I need to figure out why this link works 
and not mine...

Den måndag 8 juni 2015 kl. 15:54:22 UTC+2 skrev Johan Printz:
>
> 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 [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