Fetch response returns undefined even though the console shows the source fetched

I’m trying to interface with Wikipedia through the Wix Fetch API. The code is executed in the backend. The response returns undefined, even though the console has all the data ready. Does anyone have an idea why this is?

You have to return something from the function. Try adding the return key to the fetch method:

...
return fetch(url, { method: "GET" })
...

Thank you so much😂 - sometimes it’s the simple things XD

@dippachernico yes, I know. :joy: