0
I am trying to access a wikipedia service with JQ, but in returning Cors error, could someone help me with a code to access this service correctly.
Url: https://pt.wikipedia.org/w/api.php?action=query&format=json&prop=extracts&titles=google
error
Blocked cross-origin request: Same Origin Policy (Same Origin Policy) prevents reading the remote resource at https://pt.wikipedia.org/w/api.php?action=query&format=json&prop=extracts&titles=google. (Reason: CORS header 'Access-Control-Allow-Origin' is not present).
insert error to facilitate help.
– 13dev
but this cross-origin request is blocked: The same origin policy (Same Origin Policy) prevents reading the remote resource at https://pt.wikipedia.org/w/api.php?action=query&format=json&prop=extracts&titles=google. (Reason: CORS header 'Access-Control-Allow-Origin' is not present).
– Adilmar Coelho Dantas