Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

I am trying to create a post method to create a data that pushes to my DB this is my service to call my API: public async Task CreateTest(TestsDto testDto) { try { var request = new ...
2 votes
0 answers
113 views

I'm facing an inconsistent CORS issue with SignalR in my ASP.NET Core and Angular application. On my machine, the connection works fine in Chrome but fails with a CORS error in Edge. However, for some ...
1 vote
1 answer
277 views

I’m developing a translation API for a Chrome extension using Express and Netlify Functions. However, I’m encountering issues with CORS when making requests from the browser. The preflight OPTIONS ...
1 vote
2 answers
449 views

I'm trying to fetch an image using JavaScript from a Backblaze bucket that is set to allPrivate. I have a correct authorization code that works if I fetch the image like this: echo '<img src="'...
0 votes
1 answer
41 views

Please I'm making a POST request from my web Server(Node.js) to another web Server(Php). Can it be possible for my Node.js Server to make a preflight/OPTION request to the other PHP web server if the ...
Rareclint's user avatar
0 votes
1 answer
59 views

I have an express server ("express": "^4.19.2") set up and use this custom function to add response headers: const allowCORS = (req: Request, res: Response, next: NextFunction): ...
0 votes
0 answers
84 views

I have an Android app and a Flutter-web app that fetch some files from my github pages site. The following command .\curl -v https://mygithubaccount.github.io/myrepository/config.yaml > log_command....
1 vote
0 answers
203 views

Most of our development uses a mock backend server running on the same machine as the Vite/Webpack dev server. We also need to connect the local dev server to the "real" Java BE server ...
4 votes
2 answers
10k views

UPDATE: I was able to solve the issue thanks to the Sean's suggestion below. Look at the response headers and see where the request wants to re-direct the client to (using the Location header). That ...
0 votes
2 answers
138 views

calling an app engine (jetty @WebServlet) from another domain gives an error. In the logs I see the 'preflight' successful result, but the servlet code is not reached (a printout as the first line ...
0 votes
1 answer
524 views

Goal: My angular app needs to read this json file from AWS S3 Pre-signed URL Problem: When I'm trying to get with http call a Pre-signed URL from S3 bucket, I'm getting an error, https://mydomain has ...
2 votes
0 answers
407 views

I am learning about nuances of AWS hosting. I have relatively small app that works well on localhost, and in combination with Postman. My setup is: S3 hosted React app - with Cloudfront distribution ...
0 votes
1 answer
444 views

I have added my ASP.NET Core 6 MVC application to Azure "App registrations" and I'm able to login using the Microsoft WebUI and perform GET requests to obtain e.g. my views. The application ...
-1 votes
2 answers
1k views

UPDATE 2: SOLVED: See my answer below. UPDATE 1: Even if I hard code the program.cs in my webapi to ALWAYS set the Access-Control-Allow-Origin header the header is NOT set when calling the api with an ...
1 vote
0 answers
50 views

On my website, when user session is expired, the website redirects user to login page, nevertheless I have this CORS issue which doesn't allow me to do this: ...response to preflight request doesn't ...

15 30 50 per page
1
2 3 4 5
...
29

AltStyle によって変換されたページ (->オリジナル) /