WDI-SEA / project-2-issues

0 stars 0 forks source link

Cannot seem to target API data on specific query #22

Closed harrdev closed 2 years ago

harrdev commented 2 years ago

Similar to the OMDB project; where a link is generated from the list of searches, and each movie is a clickable link that takes you to a detail page to drill down for more details/options.

My issue is that after the data that is displayed is passed back to a axios call to get more details, I don't seem to be able to access data within that object in the API.

I'm lost.

tkolsrud commented 2 years ago

Are you getting a response with an object you can't access, or just nothing at all?

harrdev commented 2 years ago

I'm getting access to the object, but having a hard time drilling down to what I need in an array within that object

harrdev commented 2 years ago

Timm is a god. Issue was stringified data being passed to end of URL with quotes on it, therefor not resulting in the correct endpoint.