Having a lot of difficulty connecting to Etsy API with both http an jsonp.
URL works fine in the browser: https://openapi.etsy.com/v2/shops/GreatLakesModern/listings/active?api_key=5a61qc30hrvrqcperugollh5&fields=title&callback=JSON_CALLBACK
But gives 404 error with jsonp and 0 status error with $http.get
I don't believe it's an issue of CORS, because when I test other APIs on CodePen, they work. Substitute the Etsy URL and no luck.
Did some more research and found that Etsy is not CORS-compatible. With that knowledge, how should I proceed?
Example: http://codepen.io/SitePoint/pen/YXXQxj?editors=101
I've tried an assortment of solutions, but here is my current code:
var url = "https://openapi.etsy.com/v2/shops/GreatLakesModern/listings/active?api_key=5a61qc30hrvrqcperugollh5&fields=title&callback=JSON_CALLBACK";
$http.jsonp(url)
.success(function (data) {$scope.details = "Success";})
.error(function (data, status) {$scope.details = "Nope"+""+status;});