Cors with httpApi #1410
-
Hello! I am looking to allow SOME API from SOME domains to complete API requests via ajax, posting data to my API, also passing the cookies. The front-end is in a subdomain of the same domain, the back-end in a different subdomain. I have attempted with this: #252 but I had no luck. Did anyone do this? Thank you so much! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi, are you using a framework for the API? Usually there's documentation for setting up CORS (e.g. Symfony or Laravel). |
Beta Was this translation helpful? Give feedback.
-
Ok, I think I got it. There are really 3 ways to implement CORS, and the one I described in the last post is just one of them. Thanks |
Beta Was this translation helpful? Give feedback.
Ok, I think I got it.
There are really 3 ways to implement CORS, and the one I described in the last post is just one of them.
So I am good on that part!
Thanks