Linked Questions

18 votes
3 answers
94k views

We are facing an issue where using Chrome request via XMLHTTPRequest is getting failed with below error: Failed to load <server url>: No 'Access-Control-Allow-Origin' header is present on ...
ak0053792's user avatar
  • 563
23 votes
1 answer
118k views

It shows below message in the console. sandbox.js:1 Fetch API cannot load file:///C:/Users/Lizzi/Desktop/novice%20to%20ninja/todos/luigi.json. URL scheme must be "http" or "https" for CORS ...
Elizabeth Essien's user avatar
3 votes
1 answer
2k views

Possible Duplicate: Chrome: Disable same origin policy so a little background information about my issue: Writing a JavaScript file for a gallery; pulling data from an xml file, here. Loading the ...
jhwg's user avatar
  • 31
0 votes
0 answers
150 views

I am very new to using jQuery so please bear with me. I am using a line of code found online. The code works when uploaded to my gatorhost server, bit not when testing on my local computer. Both the ...
Curtis's user avatar
  • 9
738 votes
27 answers
2.6m views

I'm getting this error using ngResource to call a REST API on Amazon Web Services: XMLHttpRequest cannot load http://server.apiurl.com:8000/s/login?login=facebook. Response to preflight request doesn'...
Andre Mendes's user avatar
  • 7,707
634 votes
16 answers
780k views

I am building a web API. I found whenever I use Chrome to POST, GET to my API, there is always an OPTIONS request sent before the real request, which is quite annoying. Currently, I get the server to ...
user avatar
869 votes
9 answers
1.9m views

I am loading an <iframe> in my HTML page and trying to access the elements within it using JavaScript, but when I try to execute my code, I get the following error: SecurityError: Blocked a ...
mubashermubi's user avatar
  • 9,356
371 votes
18 answers
822k views

I'm making an Ajax.request to a remote PHP server in a Sencha Touch 2 application (wrapped in PhoneGap). The response from the server is the following: XMLHttpRequest cannot load http://nqatalog....
Ricardo's user avatar
  • 12.1k
201 votes
25 answers
1.9m views

I am working on an application using Vue.js. According to my setting, I need to pass to a variable to my URL when a setting change. $.get('http://172.16.1.157:8002/firstcolumn/' + c1v + '/' + c1b, ...
Parkar's user avatar
  • 3,128
316 votes
10 answers
1.1m views

I have an HTML page with a button on it. When I click on that button, I need to call a REST Web Service API. I tried searching online everywhere. No clue whatsoever. Can someone give me a lead/...
Shaik Syed Ali's user avatar
130 votes
15 answers
316k views

I have a problem with the --disable-web-security flag. It is not working in Chrome 48 and Chrome 49 beta on Windows. I've tried killing all of the instances, reboot and run Chrome with the flag first ...
Anatoly Sazanov's user avatar
158 votes
13 answers
512k views

I have the same situation with HERE And to solve this problem I have to launch html file using Chrome at "--allow-file-access-from-files" mode. I tried next steps many times, but it doesn't work. ...
AmyWuGo's user avatar
  • 2,445
115 votes
12 answers
515k views

I'm trying to fetch the feed of a news website. Thought I'd use google's feed API to convert the feedburner feed into json. The following url will return 10 posts from the feed, in json format. http://...
Aneeez's user avatar
  • 1,462
79 votes
20 answers
459k views

I'm running into an issue with my isomorphic JavaScript app using React and Express. I am trying to make an HTTP request with axios.get when my component mounts componentDidMount() { const url = ...
Scott Davidson's user avatar
111 votes
11 answers
158k views

I am working on an internal web application at work. In IE10 the requests work fine, but in Chrome all the AJAX requests (which there are many) are sent using OPTIONS instead of whatever defined ...
Corey Ogburn's user avatar
  • 24.9k

15 30 50 per page
1
2 3 4 5
25