I have to make CORS with content type JSON. We have used [ApiAuthorization]
filter in our get method as mentioned below.
[AcceptVerbs("Get", "Options")]
[ApiAuthorization]
public response GetDetails()
{
In case of preflight(option) request we are getting 401 Unauthorized error. What is a correct way to pass authentication header in this scenarios with CORS?