skip to Main Content

Javascript – Why doesn't my formidable code work with node js (upload an image and have the code respond according to the user's action)?

How are you? [Hola. ¿Cómo están?] I'm watching bluuweb's node course and in it they do a practical exercise ((I mean exactly this one: https://www.youtube.com/watch?v=iU3mnrw48I0&list=PLCB86r2r1iKKmz21UIlZjQieBF7ljb6Qu&index=80). [Estoy viendo el curso de node de bluuweb y en él realizan un ejercicio practico…

VIEW QUESTION

Mongodb – formidable – SyntaxError: Unexpected token – in JSON at position 0 when sending POST request

I am building the backend for creating blog posts for my web application while following a tutorial. The technologies I am using are MongoDB, express.js, formidable The relevant files are: server.js ...... // middlewares app.use(express.urlencoded({extended: false})); app.use(express.json()); app.use(morgan('dev')); app.use(cookieParser()); //…

VIEW QUESTION
Back To Top
Search