Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@dannykennedy @ajaymarathe and others