Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

CORB error #41

Open
dannykennedy opened this issue Mar 4, 2019 · 2 comments
Open

CORB error #41

dannykennedy opened this issue Mar 4, 2019 · 2 comments

Comments

@dannykennedy
Copy link

I'm getting a CORB error when I try to make a request.

screen shot 2019-03-04 at 12 02 13 pm

My code looks like this:

const URL = "http://horoscope-api.herokuapp.com/horoscope/today/" + starSign;
$.ajax({
        url: URL,
        type: "GET",
        crossDomain: true,
        dataType: 'jsonp',
        success: function (msg) {
            console.log(msg);
            //$("#result").html(msg);
        },
        error: function () {
            alert("Error");
        }});

Any ideas?

@ajaymarathe
Copy link

I'm getting a CORB error when I try to make a request.

screen shot 2019-03-04 at 12 02 13 pm

My code looks like this:

const URL = "http://horoscope-api.herokuapp.com/horoscope/today/" + starSign;
$.ajax({
        url: URL,
        type: "GET",
        crossDomain: true,
        dataType: 'jsonp',
        success: function (msg) {
            console.log(msg);
            //$("#result").html(msg);
        },
        error: function () {
            alert("Error");
        }});

Any ideas?

I also have the same issue, cross-origin, they should add allow cross-origin in headers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@dannykennedy @ajaymarathe and others