Customer Portal

Get Involved. Join the Conversation.


    Manoj Kumar Govindarajan
    How to over come "blocked by CORS policy: No...
    Topic posted April 9, 2019 by Manoj Kumar GovindarajanRed Ribbon: 250+ Points 
    68 Views, 3 Comments
    How to over come "blocked by CORS policy: No 'Access-Control-Allow-Origin' header"?

    Hi Folks,

    I am calling another application's page via ajax from customer portal  and I got following error message in console

    jquery.min.js:4 Access to XMLHttpRequest at '  ' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource


    Even though I tried by including following header in php , it is not working for me.

    header('Access-Control-Allow-Origin: *'); 

    can you tell some remedy?