Wanderlust project

Hi guys ! If you have already done the wanderlust project I have a question for you. After copying and paste the url that was in my response in a new tab of my browser (instruction 14 of the project) I have the following result:


So I’m just redirected to Google… I was expecting something else like results about the weather of the city that wrote in the field. In my console I got the following result:


I just copied and pasted the url.

So is that normal ? Thank you !

I don’t think you’ve copied and pasted it, because whilst it’s difficult to make out because of the size of your screen snippet the search term you’ve put into Google looks to start with https; //api.foursquare...

That’s not a valid URI, so your browser (which looks like Chrome) has assumed you were entering a search term and directed you to the Google results for it. :slight_smile:

What you mean by I didn’t copy and paste It ? Because I took the url which is in red in the response returned in my console and just pasted It in my browser. I Don’t get It.

What I mean is that what’s showing in your search box in the screenshot does not appear to match what’s in the snip from the console.

On closer inspection, the URI in the console also appears to have been shortened (the ellipsis ... is likely not part of the URI) which will also be contributing to the problem.

If you click the expand icon to the left of the URI you should get the full URI, which you can then paste into your browser and it will hopefully work.

Yes I found It out thank you ! Now I have this:


Is that correct ?

That looks like the type of JSON response you’d expect to get from the API, so I’d say so. :slight_smile:

Thank you for helping me !

1 Like