Access-Control-Allow-Methods does not work #99
Replies: 7 comments 28 replies
-
I was setting the request header. |
Beta Was this translation helpful? Give feedback.
-
Update |
Beta Was this translation helpful? Give feedback.
-
Did you try overloading |
Beta Was this translation helpful? Give feedback.
-
I didn't try that. please give an example for that |
Beta Was this translation helpful? Give feedback.
-
You can see the default implementation here: https://github.com/jchristn/WatsonWebserver/blob/653fd49292faefe009a29acdcaaae81d715d69de/WatsonWebserver/WatsonWebserverRoutes.cs#L185 |
Beta Was this translation helpful? Give feedback.
-
After setting preflight cors error is resolved but the response is not being sent from the request |
Beta Was this translation helpful? Give feedback.
-
WebServer:
Routes:
Developer Tools Screenshot: https://i.imgur.com/vyDH6El.png |
Beta Was this translation helpful? Give feedback.
-
I'm try to set Access-Control-Allow-Methods with a custom http request method types but it does not show on actual response headers
Custom Method : "RDSERVICE"
WebServer.Settings.Headers["Access-Control-Allow-Methods"] = "RDSERVICE";
Beta Was this translation helpful? Give feedback.
All reactions