Vi använder kakor för att göra LingQ bättre. Genom att besöka sajten, godkänner du vår cookie policy.

us   United States

Cross-Origin Request Blocked

December 2019

I'm trying to make a request using Jquery and keep getting the Cross-origin block. I am wondering if this is a problem on my end or if lingq server is denying me access to API.

Error message is at the bottom, any help is much appreciated.

var settings = {

"async": true,

"crossDomain": true,

"url": "https://www.lingq.com/api/languages/en/lessons/108135/text/",

"method": "GET",

"headers": {

"authorization": "Token MY_API_KEY",

"cache-control": "no-cache",


"Access-Control-Allow-Origin": "*"


$(document).ready(function() {

$.ajax(settings).done(function (response) {




Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at