Trying to fetch api from replit gives me the html of that page

Question:
i am trying to fetch api from https://replit.com/@PrakashSakari/RecipeAPI gives me html content rather than data when i try to console it.
Repl link:

code snippet
const RECIPEURL = "https://replit.com/@PrakashSakari/RecipeAPI";

const CUISINEURL =
  "https://recipeapi.prakashsakari.repl.co/api/recipes/cuisines";

 const getData = async (url)=>{
      try{
          const { data } = await axios.get(url);
          return data;
      }catch(err){
          console.log(err);
     }
 };

const recipes = await getData(RECIPEURL);
console.log(recipes);


has been removed since Changes to Hosting on Replit! - #729 by soren

2 Likes