Trying to do a simple JSONP request in Angular 2:
this.jsonp.request("https://public-api.wordpress.com/rest/v1/sites/wtmpeachtest.wordpress.com/posts?callback=jsonp_callback", { method: 'Get' })
.subscribe((res) => {
console.log(res.json());
});
Returns
I think it may be an issue with the feed? Maybe starting with "/**/"?
Because both
http://google-code-updates.blogspot.com/feeds/posts/default?alt=json-in-script&callback=myFunc
Works just fine