damian
01/14/2018, 7:38 PMCORS
(with GET, POST, OPTIONS methods, anyHost
and exposeHeader("Access-Control-Allow-Origin")
) but i'm still receiving 403 for requestsdamian
01/14/2018, 7:41 PMOPTIONS
http type. i implemented a GET
route, but javascript-fetch
does a call with type OPTIONS
first apparently, which fails.orangy
damian
01/14/2018, 7:45 PMdamian
01/14/2018, 7:45 PMapp.install(CORS) {
method(HttpMethod.Get)
method(<http://HttpMethod.Post|HttpMethod.Post>)
method(HttpMethod.Options)
anyHost()
exposeHeader("Access-Control-Allow-Origin")
}
damian
01/14/2018, 7:47 PM0.9.1-alpha-8
orangy
damian
01/14/2018, 8:06 PMheader("Authorization")
to the CORS setup, now it's working 👍 thanks.