My query (see below) from code pen into Wikipedia returns the error:
XMLHttpRequest cannot load http://en.wikipedia.org/w/api.php?action=query&prop=pageterms&generator=prefixsearch&origin=*&format=json&wbptterms=description&pilimit=30&gpssearch=football. Cross-origin redirection denied by Cross-Origin Resource Sharing policy.
This query works fine in my local Safari browser (so I thought I was all set).
Is there some magic setting which will make this work in code pen? I cannot find anything except to set ‘origin=*’, which I have done.