I've created API for testing and it works fine on my machine.
However, when deployed it, and published it on the server it also works perfect when using HTTPS.
But when I use HTTP I could see the Swagger UI BUT when try any method I got this error
Failed to fetch.
URL scheme must be "http" or "https" for CORS request.
The issue seems that the server redirects the request from http to https.
We dont want to use the HTTPS we need http.
How to solve this issue?
I published my test on the server
Hey, I am ready to work with you, I have read your requirements and I am confident that I can deliver you best. Kindly share me some more details so I can start this job right away. I am an expert web Development also Daha Fazla
I can help you, give me an access so I can analyze the problem, I think it's easy. call chat now.
Bu iş için 4 freelancer ortalamada $21 teklif veriyor
Hello, I'm a full stack developer with more than 1.5 years of experience. I can fix the CORS issue in no time. Looking forward to working with you. Thanks
Dotnet full-stack application developer who has around 10 years of experience in various phases of software development lifecycle & web application development. Hands on experience in ASP.NET MVC, ASP.NET WEB API, .NET Daha Fazla