-b- so what is known is that there is a current problem about
CORS
means when you call to / from a https site
you see possibly no response,
but in ( context menue // right mouse click ) Inspect tab CONSOLE see
Failed to load
https://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=p5js&utf8=&format=json:
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'https://editor.p5js.org' is therefore not allowed access.
If an opaque response serves your needs,
set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
you can play in above linked sketch
using url1 ( works ) or url2 ( wiki give error )
while a call in browser
So ‘Access-Control-Allow-Origin’ is a server thing and we have to ask for permission or something like that and add to request ‘origin=*’. And there is a another option which uses xmlhttprequest.