Access to resource has been blocked by CORS policy
So I want to do this:
But using senbeacon from javascript. I want to do this so by combining this with I can sync the user's shopping cart when the page gets closed. I am not certain that this is the best way to acheve this howver. Nonetheless, this the best I could do:
I get the following error:
But using senbeacon from javascript. I want to do this so by combining this with I can sync the user's shopping cart when the page gets closed. I am not certain that this is the best way to acheve this howver. Nonetheless, this the best I could do:
I get the following error: