Wanderlust step 13

Hello,
In step 13, I don’t understand why the GET request sent with fetch() doesn’t give us the 10 places we are looking for, but only the url (which we already know as urltofetch ! ) ?
So it’s not fetch() that will retrieve the requested information from the foursquare API ?
Why is it the json() method that will fetch the 10 places at this url ?
Could someone explain me the precise job of json() , please ?
Thank you for help !

Translated with www.DeepL.com/Translator (free version)

Hi, can you give us the link of this lesson, I think it will make it a lot easier to help you with some context.

Hello,
Yes of course, sorry for this oversight!
https://www.codecademy.com/courses/introduction-to-javascript/projects/wanderlust
Thank you[Wanderlust step 13](Hello, Yes of course, sorry for this oversight! https://www.codecademy.com/courses/introduction-to-javascript/projects/wanderlust)

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.