Getting CORB issue while fetching while fetching data

205 Views Asked by At

I am working with simple GET request using ajax which is working on the Postman also on the browser. But when I am trying to run it on Android device (hybrid app with Google Chrome browser) I am getting following warning.

Cross-Origin Read Blocking (CORB) blocked cross-origin response https://test.getmydata.com/api/Test with MIME type application/json. See https://www.chromestatus.com/feature/5629709824032768 for more details

This what I think is the reason for not getting data. My server side is in C#. What should be the workaround for this ?

edit

Following is my request configuration :

    var settings = {
        "async": true,
        "crossDomain": true,
        "url": "https://test.getmydata.com/api/Test",
        "method": "GET",
        "headers": {
            "content-type": "application/json",
            "authorization": "bearer dOowSJJEJAF3_5A"
        }
      }
0

There are 0 best solutions below