Closed Atul240202 closed 1 year ago
hey can you check your server index file and postRoutes file
for me have same just replace with this code app.get("/", async (req, res) => { res.status(200).json({ message: "Hello from DALL.E!", }); });
and my error is solved
@ShadabImran07 what and where did you replace this, i cant understand plzx help
In back-end file main index.js file
According to the above error "POST" request in handleSubmit is not working. But it is giving "Success" alert. I am really confuse about the error.
const handleSubmit = async (e) => { e.preventDefault();
};