Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Kimono labs API request

$
0
0

l have got it using the jsonp method,thanks

.controller('maritimeCtrl', ['$scope','$http', function($scope, $http){
$http.jsonp('https://www.kimonolabs.com/api/4wfjeevq/?callback=JSON_CALLBACK')
.success(function(resp) {
console.log('Success', resp.results);
$scope.news = resp.results.MaritimeNews;
}, function(err) {
console.error('ERR',err);
});
}])


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>