Does this technique work with nested request body objects? For example, instead of req.body .firstName, ... req.body.userInfo.firstName. I have tried express-validator and it does not work.
nice video , my requirement is to validate the the the response after getting from get call , from this response few field I have to validate before persisting to db. Please help
How to validate if I want two option for example WEIGHT: joi.number().integer().message("Invalid Input").required() I want integer and Float also how can achieve this
I came looking for copper and I found gold!
Thank you so much, you are my hero! :D
Thank you so much ❤️
4:01 thanks for saving me i was stuck at number validation for soo much time. Thanks.
Nice videos guy, thanks It helped me.
Best
Very help full
make a video on Express validator as well
Awesome 😊. Thanks
one again sir.. pls upload video how to upload image use your REST API. i still learning from u sir.
Sure thanku for the suggestion I will try to upload today
@@TechnicalBabaji1 thanks for your kindness sir. ;)
Good tutorial but now this package is deprecated.so can u use other packages?
Status code is 400 throw errors
You aare using 200 is used for The request succeeded. The result meaning of "success" depends on the HTTP method:
Does this technique work with nested request body objects? For example, instead of req.body .firstName, ... req.body.userInfo.firstName. I have tried express-validator and it does not work.
Hi, i got this error Route.post() requires a callback function but got a [object Undefined]
I have to see the code.. I can't say anything without seeing your code
nice video , my requirement is to validate the the the response after getting from get call , from this response few field I have to validate before persisting to db. Please help
How to use async await in getUser sir?
sir please OTP sending and email per video banaye nodejs me
I have already maded a video on email sending... Please watch. And sure I will make video on otp
It gives error as Joi.email is not a function.
sir, how to validate multiple table?
In NPM Site shows messages like "This package has been deprecated", shall I use hapi/joi in my project?
You can use the Joi Package. www.npmjs.com/package/joi
How to validate if I want two option for example
WEIGHT: joi.number().integer().message("Invalid Input").required()
I want integer and Float also how can achieve this
haha copied logo from technical guruji