Is there a way to request Kuler themes using AJAX, and then storing the themes in an array or something? I've got the API key and verified it's working. But I can't seem to get it working with AJAX... :\
$.ajax({
url:"http://kuler-api.adobe.com/rss/search.cfm",
data: {"searchQuery":"blue", "key":"Wh47EV3R7HEK3YI5"},
success: function(data) {
console.log(data);
},
error: function(xhr, txt, err) {
//I always end up here... :\
console.log("error text: " + txt);
console.log("error message: " + err); //undefined
}
});
The so-called documentation is of no help whatsoever...
edit: I've also tried this:
$.get("http://kuler-api.adobe.com/rss/search.cfm",
{"searchQuery":"blue", "key":"Wh47EV3R7HEK3YI5"},
function(data) {
console.log(data);
}
);