What browser are you using? In Chrome, the debug tools have a Network tab 
that will show you all of the requests that your page makes while the tools 
window is open, and all the details of the request and the reply. I expect 
Firefox and IE dev tools have something similar. You could also fire up 
Fiddler or some other debugging proxy to see what is going on.

Are you requesting something on the same site that your code is served 
from? If not, you might be hitting cross-origin restrictions. By default, 
your Javascript is forbidden from receiving any data from a DNS address 
other than the one it was served from. If this is your problem, the only 
ways around it are to either put an extra header to allow cross-origin 
requests on the server response if you control the server, or proxy the 
request through the server that your page is coming from.

On Monday, August 24, 2015 at 10:50:42 AM UTC-5, Zain Ali wrote:
>
> using in $http.grt("url") if i put the url of remote server  like 
> task.move.pk/get.php it does not gives the data back i have put header on 
> php file and also config the httpprovider but neither of it work search for 
> a whole day also install and on the cors plugin in chrome please help me i 
> am newbie to angular
>

-- 
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