I am using ajax in one of my magento project, every thing is working fine with http://url.com but when i use https://url.com it response nothing and show below error.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://url.com. This can be fixed by moving the resource to the same domain or enabling CORS.
How to solve this issue?