I'm trying to make a request to my local API from the Swagger documentation, but it always gives this error when I make the request
First check that your address is not blocked by cors, for dev tests you can use Access-Control-Allow-Origin:*
.
If it doesn't work for you, check that you are not using an extension on your browser, such as those that block ads. You delete it from your browser, restart it and test again, it will work.