X-requested-with Is Not Allowed By Access-control-allow-headers
I am developing one system. In that system there is one add item to cart functionality. In that functionality, I am using Jquery $.ajax used. But online server I have facing this e
Solution 1:
The error can be fixed by adding
header('Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept');
in the server where ajax call leads to....
Post a Comment for "X-requested-with Is Not Allowed By Access-control-allow-headers"