Most voted "cors" questions
Cross-Origin Resource Sharing (CORS) is a specification that enables access beyond the domain from which your page or Application was loaded.
Learn more…125 questions
Sort by count of
-
0
votes1
answer88
viewsVariable does not change in nodejs
I am developing a Node application for Guardhouse Communication (API) and I am having trouble changing the value of a variable. follows below the code: var net = require("net"); var express =…
-
0
votes1
answer22
viewsProblem (Same Origin Policy) using Vue.js and Couchdb
I’m making a post request through the Vue.js, to create a document in the Couchdb, I enabled Cors in couchdb with *, left the database enabled for the user admin and made the following code: var…
-
0
votes0
answers124
viewsVuejs Application Deploy in Vercel - Error 405
You guys talking blz? I’m having problems deploying my nuxtjs application to Vercel https://vercel.com/ my problem is that when I make a POST request to my api that is configured in the project…
-
0
votes0
answers107
viewsProblem with CORS even after setting header for Access-Control-Allow-Origin
I have an app Vue staying in the Netlify and always when I try to achieve a request of the kind POST in my endpoint https://backend-app.herokuapp.com/clientes I get the following error: Access to…
-
0
votes0
answers31
viewsHow to enable the CORS
I am trying to make an RSS request from a site but would like to know how I enable Cors without swindling like this in the code. Remembering that I do not have access to the server on which I want…
-
0
votes1
answer35
viewsCORS error when using fetch API js - source destination
Well, I’m trying to use pure Js and html, to consume an api, running on the localhost. Follow the codes: Java Javascript(running on a local server) but it returns a Cors error, which I am placing…
-
0
votes0
answers47
viewsHow to resolve Cors error in Node
I did my backend with Node/express normally and tested all routes in India and everything took place normally at the front(vuejs) made requests via Xios, all routes also worked, except the…
-
0
votes0
answers24
viewsCross-origin locked in Xmlhttprequest
My javascript function is on https://subdominio.site.com.br/ tries to reach a file .JSON via GET in the main domain https://www.site.com.br/ and the return is the error in the browser console.…
-
0
votes0
answers16
viewsCors error with socket.io: No 'Access-Control-Allow-Origin' header is present on the requested Resource
I have an API with a running socket.io instance, configured as follows: const sock = socketIo(server /* servidor express */, { origins: [CONFIG.frontend /* variavel que contem a url do front */],…
-
0
votes2
answers56
viewsAccess-Control-Allow-Origin error with Nodejs and Reactjs application
I’m developing a real-time chat application, using Reactjs on the front end and Node.js on the back end. I have configured the Node server with Socket.io for the application. When entering the chat…
-
0
votes0
answers18
viewsProblem with CORS in Reactjs application
I checked on other questions but found no answer that fits my problem. I have a Reactjs application that is on my localhost:3000 and I need to post for my API that is on my localhost:4000. The…
-
0
votes0
answers17
viewsCORS error in commandeer with localstack
I’m using the commandeer to execute a local AWS instance. But some services I need, like Dynamo, Cloudformation, SNS and SQS are disabled with error 403 in commandeer. When I open the Docker image…
-
-1
votes2
answers481
viewsCors error at angle 6
Guys I’m having this mistake in a project: Failed to load http://127.0.0.1:8000/hqi/pages: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin…
-
-1
votes1
answer568
viewsError: Access-Control-Allow-Origin, for ajax request
For the AJAX request below: var url = "minhaurlaqui"; $.ajax({url: url, success: function (retorno) } I have the following return: "Access to Xmlhttprequest at 'urlaqui' has been blocked by CORS…
-
-1
votes1
answer146
viewsAngular Integration with Delphi
I have a Delphi Datasnap Restful server to be accessed with Angular front-end, I was able to apply GET normally but in trying to run a DELETE I get the http error Failure Would anyone know how to…
-
-1
votes1
answer120
viewsError of CORS Ionic 3
I’m trying to connect my application with a backend server in Laravel I have an Interceptor that adds headers to the request: intercept(req: HttpRequest<any>, next: HttpHandler):…
-
-1
votes1
answer856
viewsYarn returning error while trying to add "Cors"
This is Devs :D I’m having a mistake that’s bothering me a little... When trying to add the "Cors" package by Yarn, the terminal returns me the following error: $ yarn add cors yarn add v1.16.0…
-
-1
votes1
answer474
viewsProblem with Cors Laravel project 5.5 and Vuejs
In an Laravel project using the features of an API I have some logos and I have my endpoints in the Laravel.php api file <?php Route::post("auth", "Auth\AuthController@authenticate");…
-
-1
votes1
answer438
viewsHow to enable CORS in Java projects with JWT implementation?
I am doing a web service project, where I implemented the JWT and to consume using Reactjs I enabled the CORS, but when I make a request that needs to have the token, this returning it: Access to…
-
-1
votes1
answer1981
viewsProblem with CORS - Preflight (get works, post does not)
Does anyone know how I can solve this CORS problem? Because honestly I tried a lot and I could not, I already put in the backend (php) ACCESS-CONTROL-ALLOW-ORIGIN * and others, even so the error…
-
-1
votes1
answer25
viewsHow can I avoid intermittent Cors errors with Axios and Vue.js requests?
I have an application developed in Vue.js that performs requests through Axios for an api developed in Node.js with express. My problem is that in 3% of requests CORS is blocked by locking the…
-
-1
votes0
answers29
viewsProblem with the CORS
I’m developing an api for an education platform, and so created my private and public routes. The public are for creation and validation of token, then use it to access the routes but Cors, for some…
-
-2
votes1
answer81
viewsLumen blocks only one route on CORS, all others work
I have a system that was working, but suddenly it stopped working. Giving error "No 'Access-Control-Allow-Origin' header is present on the requested Resource" Etou using Lumen with…
-
-3
votes1
answer95
viewsAPI query blocked by CORS
Expensive, I am calling an API, but it is being blocked by CORS. I have installed an extension in my browser that enables and disables CORS. When enabled the API returns the expected data, but when…
-
-3
votes1
answer58
viewsAJAX AND XHR FALIED REQUEST PROBLEM
I have an application on Node.js in an Ubuntu VPS 18.4, but when trying to make a login request for testing, I get a Google Chrome error; "net::ERR_CONNECTION_REFUSED". He tells me he had some…