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 *

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.