Created http function to retrieve data, now just need to pass in path.