@Sidk
Nothing here yet.
Nothing here yet.
No blogs yet.
Hi Victoria Lo , Awesome tutorial.Its really very good tut. I have problem while using image upload from postman. Only when i use form-data method 'post' in POSTMAN i'm getting error while using image type file. Getting this error name": "ValidatorError", "message": "Path name is required.". But all the pervious code with out image is working fine with raw data with json data type. I try to debuge it .It happens only when i use form-data then in code req.body.name is not working but while using raw data using json its working. Should i need to use this const bodyParser = require ( 'body-parser' ); app. use (bodyParser.urlencoded({ extended: false })) app. use (bodyParser.json()) Can you please help me upload image using form-data using POSTMAN ?