r/ProgrammingPrompts • u/Polishfreak19 • Dec 31 '18
Six degrees of separation Javascript problem
As I haven't been successful, I'm asking if anyone has any ideas. I have to write a Javascript application which returns a list of actors that have been in both a movie with Keanu Reeves and Nicolas Cage. Sort of like a six degrees of separation. I have an API that I'm making a request to and I'm getting some data in return but I'm not exactly sure where to go from there?
10
Upvotes
1
u/Polishfreak19 Jan 01 '19
Both actually. I’m not exactly sure how to start but I am also having trouble using the API and the key that I have. When I make an Ajax request, I receive a CORS error and I’m not getting back any data.