Hi Nicolas,
How do you know what the response is? This line of code doesn’t do anything with the response:
.then(response => response.json());
What are you trying to do with the response? If the code succeeds in entering the .then() function, then you’re halfway there. All that’s left is to use the results that are returned.
You can see some simple examples in the the fetch() API .
I hope this helps,
Yisrael