Getting this error message 'TypeError: Failed to fetch' – Reactjs
While trying to fetch images from cloudinary getting this error 'TypeError: Failed to fetch'. Its a MERN project. const fetchPosts = async () => { setLoading(true); try { const response = await fetch("http://localhost:8080/api/v1/post", { method: "GET", headers: { "Content-Type": "application/json",…