Category "cors"

NextJs CORS issue

I have a Next.js app hosted on Vercel at www.example.com, which needs to communicate with a backend .NET Core Web API hosted on a different server at api.exampl

Flask CORS work only for first request, what's the bug in my code?

background There is a JS app serving at 127.0.0.1:8080, which refers some API serving at 127.0.0.1:5000 by a Flask app. [See FlaskCode] When I open this js app

ElasticSearch Access-Control-Allow-Headers header is not present

I am making a POST request from a local https server to an ElasticSearch endpoint which has been configured as follows http.cors.enabled: true http.cors.allow-

Response to preflight request doesn't pass access control check

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=faceb

Spring Cloud Gateway with Eureka discovery enable CORS policies

I've been searching on how to enable CORS when using Spring Cloud Gateway in addition with Eureka discovery. My application is up and running and everything wo

Angular4 CORS header contains multiple values

please could somebody help to resolve issue: backend spring application web.xml <filter> <filter-name>corsFilter</filter-name>

I get CORS error when I try to access metadata stored on IPFS

I am trying to fetch the metadata I stored on NFT.storage using axios, but each time I get this error: Access to XMLHttpRequest at 'ipfs://bafyreib6hf354pwtnwx

Frontend JavaScript request gets 302-redirected but ultimately fails

I'm trying to create an audio visualization for a podcast network, using the Web Audio API with createMediaElementSource() very similarly to the model explained

‘Access-Control-Allow-Origin’ missing when uploading to YouTube API

For several years we have successfully been uploading videos via the YouTube API using some custom JavaScript code. The code was based on some samples provided

How to check a domain has enable CORS or not

I tried to access this API click here for more info POST https://api.line.me/v2/oauth/accessToken but always get the error: XMLHttpRequest cannot load http

How to enable CORS in flask

I am trying to make a cross origin request using jquery but it keeps being reject with the message XMLHttpRequest cannot load http://... No 'Access-Control

Can/should HTML5 Web Workers use CORS for cross-origin?

I ran into an interesting problem while creating a hosted API that relies on web workers. I was hoping to get a little community feedback on it. My server is s

Access to Image from origin 'null' has been blocked by CORS policy

I have JavaScript application in OpenLayers 3, and my base layer is created from local tiles. I work only in my computer so I do not know why I have CORS error.

CORS issues: The 'Access-Control-Allow-Origin' header mustn't contain multiple values

I want to allow my server to let two different domains read data without getting a CORS issue. Therefore, I wrote the following code line (in node.js): app.

How do I configure actix-web to accept CORS requests from any origin?

I am building a REST API with actix-web. How do I configure CORS to accept requests from any origin? Cors::new() // <- Construct CORS middleware builder

Issue: No 'Access-Control-Allow-Origin' header is present on the requested resource

My problem is that I can't access to GET method from my Angular app because of the issue: Access to XMLHttpRequest at 'https://localhost:44337...' from origin '

Failed to load resource: Preflight response is not successful

Am trying to call CORS Rest API but am getting this error: Failed to load resource: Preflight response is not successful This happens on my cordova apps a

HTTP response 401 Unauthorized to CORS preflight request on ADFS WIA endpoint

I have got a problem with the WIA authentication endpoint on ADFS in Windows Server 2019 in combination with a CORS preflight request: If a client session of a

How to get a cross-origin resource sharing (CORS) post request working

I have a machine on my local lan (machineA) that has two web servers. The first is the in-built one in XBMC (on port 8080) and displays our library. The secon

How to allow CrossOrigin from all domains?

Is there anyway to make this end point allow request from anywhere? I've tried like but none of them worked. @CrossOrigin(origins = "") @CrossOrigin(orig