3 ms·
Do you need to? It's not website-to-website communication. If you do need to it's very simple, your web server has to include some extra headers: "Access-C
by benologist 13y ago
Do you need to? It's not website-to-website communication.
If you do need to it's very simple, your web server has to include some extra headers:
"Access-Control-Allow-Origin", "*"
"Access-Control-Allow-Methods", "GET,POST" // etc
"Access-Control-Allow-Headers", "X-Requested-With,Content-Type"
- okpatil 13y agoIt seems that I need to. When I don't, it gives "Origin null is not allowed by Access-Control-Allow-Origin" error.