Comments (4)
The response to your second request is a 500 of content-type text/html - is this coming from an error handler rather than your API?
from cors.
@rynowak Your are right, there is a internal error, after fixed that error it works well.
Thanks.
from cors.
Can you share your solution? I have same problem, I've tried a lot of things and it still comes up in some requests :( Thanks.
from cors.
@mariapaulinar in that case I believe he was enountering another error somewhere else in his code. Can you please open a new issue and describe the problem you are having?
from cors.
Related Issues (20)
- Set VaryByOrigin for origins other than * HOT 1
- Log when we see an OPTIONS without AccessControlRequestMethod HOT 1
- Jwt Auth with Angular Auth0 and AspNetCore No 'Access-Control-Allow-Origin' header is present on the requested resource HOT 5
- Move CorsOptions to root namespace HOT 1
- EnableCorsAttribute has a way to set policy name via the ctor and the property HOT 2
- Add an empty constructor for EnableCorsAttribute HOT 4
- Asp.net core web api that returns File is throwing No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access HOT 4
- DefaultIsOriginAllowed should StringComparer.Ordinal be changed to StringComparer.OrdinalIgnoreCase? HOT 2
- CorsMiddleware not rejecting invalid requests HOT 7
- Using a stricter CORS policy for just one controller HOT 3
- The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed HOT 14
- Remove duplicate header names and method constants HOT 1
- Should CORS be abandoned? HOT 1
- GET and POST requests from blocked origin still executed HOT 5
- Forward `IDisableCorsAttribute` to a more broadly-used package HOT 7
- EnableCors security and client application concerns HOT 9
- Exception, when origin is null in CorsPolicyExtensions.cs HOT 5
- THIS ISSUE TRACKER IS CLOSED - use the Home repo issue tracker
- Why Cors AddPolicy doesn't allow *.example.com ? HOT 2
- CORS Headers don't display in response HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cors.