Answer the question
In order to leave comments, you need to log in
Where am I going wrong with the Unsplash API request?
If I do like this:
$.getJSON('https://api.unsplash.com/photos/random?client_id={my key}, function(data){
console.log(data);
});
$.getJSON('https://api.unsplash.com/photos/random/collections/327760?client_id={my key}, function(data){
console.log(data); // 404
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question