REST API validation in nodejs

Поделиться
HTML-код
  • Опубликовано: 5 сен 2024

Комментарии • 26

  • @mikeort16
    @mikeort16 4 года назад +6

    I came looking for copper and I found gold!
    Thank you so much, you are my hero! :D

  • @KSHMRGAMING
    @KSHMRGAMING 2 года назад

    4:01 thanks for saving me i was stuck at number validation for soo much time. Thanks.

  • @cristhianjonathangomezramo5301
    @cristhianjonathangomezramo5301 4 года назад +1

    Nice videos guy, thanks It helped me.

  • @sagarrooprai7906
    @sagarrooprai7906 3 года назад

    Best

  • @mansilaad2062
    @mansilaad2062 3 года назад

    Very help full

  • @mayankk104
    @mayankk104 4 года назад +1

    make a video on Express validator as well

  • @jonathanlogin4918
    @jonathanlogin4918 4 года назад +1

    Awesome 😊. Thanks

  • @jonathanlogin4918
    @jonathanlogin4918 4 года назад +1

    one again sir.. pls upload video how to upload image use your REST API. i still learning from u sir.

    • @TechnicalBabaji1
      @TechnicalBabaji1  4 года назад

      Sure thanku for the suggestion I will try to upload today

    • @jonathanlogin4918
      @jonathanlogin4918 4 года назад

      @@TechnicalBabaji1 thanks for your kindness sir. ;)

  • @RN-jo8zt
    @RN-jo8zt 4 года назад +2

    Good tutorial but now this package is deprecated.so can u use other packages?

  • @ashoksahani6215
    @ashoksahani6215 2 года назад

    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:

  • @skisteepndeep
    @skisteepndeep 3 года назад

    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.

  • @richardwilliam7030
    @richardwilliam7030 4 года назад +1

    Hi, i got this error Route.post() requires a callback function but got a [object Undefined]

    • @TechnicalBabaji1
      @TechnicalBabaji1  4 года назад

      I have to see the code.. I can't say anything without seeing your code

  • @sudhirkk007
    @sudhirkk007 4 года назад

    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

  • @jonathanlogin4918
    @jonathanlogin4918 4 года назад +1

    How to use async await in getUser sir?

  • @instant-code
    @instant-code 4 года назад +1

    sir please OTP sending and email per video banaye nodejs me

    • @TechnicalBabaji1
      @TechnicalBabaji1  4 года назад +1

      I have already maded a video on email sending... Please watch. And sure I will make video on otp

  • @krupalirao5980
    @krupalirao5980 2 года назад

    It gives error as Joi.email is not a function.

  • @harshsaxena283
    @harshsaxena283 Год назад

    sir, how to validate multiple table?

  • @jeyakrishnank9904
    @jeyakrishnank9904 3 года назад

    In NPM Site shows messages like "This package has been deprecated", shall I use hapi/joi in my project?

    • @masomahboob
      @masomahboob 2 года назад

      You can use the Joi Package. www.npmjs.com/package/joi

  • @abhijeetsamanta9358
    @abhijeetsamanta9358 4 года назад

    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

  • @karma_yogi_42
    @karma_yogi_42 3 года назад

    haha copied logo from technical guruji