API call with jQuery

• Nov 17, 2016 - 15:12

I am trying to make an API call with jQuery but it seems like I miss something :/

I am using
$.getJSON('http://api.musescore.com/services/rest/score.json&oauth_consumer_key=KE…?')
.done(function(data) {...}).fail(function(error) {...});

when I open the link as a normal tab it shows me the response, but when I try it with jQuery I get "parsererror" but don't know what I should do against it.

Here you can look at it: http://codepen.io/A_A/pen/VmmpEd?editors=0011

Greetings
lindraupe


Comments

Do you still have an unanswered question? Please log in first to post your question.