How can I do a /resolve with the Soundcloud Javascript SDK?
问题 I would like a user of my app to paste in a Soundcloud track URL to a <input> field press a submit <button> have a function return the track's id So far the only way I know how to do a /resolve is via command line's curl command as demonstrated here http://developers.soundcloud.com/docs/api/reference#resolve. Is there a way to do this via a Javascript function? e.g. SC.resolve(trackURL, id, function(id, error){}); 回答1: All curl does is an HTTP request. JavaScript is definitely able to do an