I've been trying to call an external API (Vimeo) from my AngularJS code, but all I get back is a 304 Not Modified. My code:
this.$scope.$safeApply(() => {
this.$http.jsonp('http://vimeo.com/api/v2/video/75532980.json?callback=?')
.success((r) => {
this.$log.info("Success: " + r);
})
.error((e) => {
this.$log.info("Error: " + e);
});
});
The odd thing is when I call the same URL from fiddler, everything seems ok and I get 200 response with the correct JSON.