Struggling to fetch products.json from API, can anyone help?

Am i doing anything wrong besides writing differently?