Linked Questions
67 questions linked to/from No 'Access-Control-Allow-Origin' - Node / Apache Port Issue
0 votes
0 answers
586 views
How can I make HTTP POST request on vue.js using the webpack template [duplicate]
I have a front end application with a contact form for clients, and my goal is to be able to send emails from the form the client will fill out to the company startup email. For that , I already ...
-1 votes
1 answer
365 views
AngularJS Request Access-Control-Allow-Headers is not allowed by Access-Control-Allow-Headers [duplicate]
I need to know what can I do to solve this problem, which need repair. I do not need to know the problem, need to know the solution. Anyone know how can I do? my ionic app : // controller test: $...
0 votes
0 answers
236 views
How can I send some text from browser javascript to node.js code (not in the browser)? [duplicate]
I think it's not the hardest problem, but i can't solve it. I have some html, css and javascript code. On a html-page the user can enter a number into a searchfield. The goal is to have this number in ...
0 votes
0 answers
175 views
NodeJS HTTP: No 'Access-Control-Allow-Origin' header [duplicate]
I am developing on Ionic Framework 2.0.0-beta.4. My node version is v4.4.7. I am trying to use NodeJS http. My code: var http = require('http'); var options = { host: 'www.google.com', ...
1373 votes
34 answers
4.3m views
No 'Access-Control-Allow-Origin' header is present on the requested resource—when trying to get data from a REST API
I'm trying to fetch some data from the REST API of HP Alm. It works pretty well with a small curl script—I get my data. Now doing that with JavaScript, fetch and ES6 (more or less) seems to be a ...
159 votes
12 answers
1.1m views
Axios having CORS issue
I added proxy in package.json and it worked great, but after npm run build the CORS issue has resurfaced again, does anyone know how to deal with CORS issue after npm run build in React. I have tried ...
60 votes
13 answers
344k views
No 'Access-Control-Allow-Origin' header in Angular 2 app
For this project, I'm just learning and practicing Angular 2. I have no server-side and am making API requests to barchart ondemand api . I'm wondering if it is possible to bypass the cors issue. I'...
57 votes
10 answers
149k views
How to enable cors nodejs with express?
In summary I am using a viewer like api of dicom files called cornerstone, for this I connect to the WADO service of dc4chee to get the dicom, dcm4chee runs port 8080, and my application on node uses ...
24 votes
6 answers
76k views
Cross-Origin Request Blocked with React and Express
So I hit this error, when I was trying to send data to the back end using React. From what I learnt I need to allow the communication on the back-end and in the .htaccess file. Here are some of the ...
29 votes
3 answers
64k views
Express JS: No 'Access-Control-Allow-Origin' header is present on the requested resource
I have an API running on a server and a front-end client connecting to it to retrieve data. I did some research on the cross domain problem and has it working. However I've not sure what has changed. ...
20 votes
2 answers
90k views
fetch error No 'Access-Control-Allow-Origin' header is present on the requested resource
I'm using fetch API to get data from other APIs this is my code: var result = fetch(ip, { method: 'get', }).then(response => response.json()) .then(data => { country = ...
33 votes
3 answers
34k views
Html <img src=...> works but JS Image loading cause CORS error
I want to create picture editor in js+jquery. At the first step i ask user to give image url. But I come across problem when i try load image data inside JS (to generate base64 image uri). I get ...
20 votes
4 answers
74k views
How to Fix react cors error in localhost?
I'm working on a react app. Where I'm requesting for an API by AXIOS. But When I run NPM START to test my app in localhost I'm getting CORS error. Here is the error Access to XMLHttpRequest at 'https:...
13 votes
7 answers
1k views
MEAN stack file upload
I am developing a MEAN stack web application and I want to upload file using ng2-file-upload. This is my Angular 2 code. classroom.component.html <input type="file" class="form-control" ...
5 votes
1 answer
21k views
Uploading a file with AngularJS and bluimp on success callback of another form
I have followed the following tutorial in order to integrate the notorious bluimp jQuery file uploader in my AngularJS project. After some research I found that in the options array, witihn the ...