What's the difference between $http.get and $http.jsonp?


#1

On the first step of part 3 (NearMe 2), it says:

Use $http to get places data from https://en.wikipedia.org/w/api.php?action=query&list=geosearch&gsradius=5000&gscoord=40.741934%7C-74.004897&gslimit=30&format=json&callback=JSON_CALLBACK. Use $http.jsonp instead of $http.get.

Can someone please explain what the difference is between the two? It's not explained. It would be helpful to know when I should be using $http.get and when I should be using $http.jsonp instead.


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.