1 Reply Latest reply on Oct 10, 2019 6:57 AM by Daniel Merchán

    CORS issue when we call Oracle Fusion REST APIs

    3780786

      HI,

       

      Am trying to call the Oracle Fusion REST API from localhost using Oracle JET. But am getting the CORS issue. Could you please provide the solution to fix this issue ?

       

      Fusion URL : https://ekfq-dev2.fa.em2.oraclecloud.com//hcmRestApi/resources/11.13.18.05/organizations?q=ClassificationCode=DEPARTMENT…

       

      return $.ajax({

                  type: 'GET',         

       

       

                  url: 'https://ekfq-dev2.fa.em2.oraclecloud.com:443//hcmRestApi/resources/11.13.18.05/organizations?q=ClassificationCode=DEPARTMENT;Status=A',

                  headers: header,

                  contentType: 'application/json',

                  tryCount: 0,

                  retryLimit: 0,

                  success: function (response, data, xhr) {

                      console.log()

                      console.log(response)

                  },

       

       

      Regards,

      Maheshwaran K