Hacker News new | ask | show | jobs
by kodisha 5083 days ago
Any experience with CORS and https?

Does it work properly?

If i have www.mydomain.com with certificate A, and api.mydomain.com with a certificate B, can i make CORS call with javascript?

(i know that if you try it with self signed cert, it will just drop the request)

1 comments

Yes this works. Just get all the headers correct.