Spent about an hour this morning trying to fetch data from an API in JS. It wasn’t working in jsfiddle (or similiar) and I wasn’t get any useful error messages. The code worked, just didn’t like the API. Turns out CQC didn’t plan on anyone using JS – “CORS header ‘Access-Control-Allow-Origin’ missing”.

Leave a Reply

Your email address will not be published. Required fields are marked *

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)