Zoom Apps | Community
Skip to main content
Newcomer
July 29, 2022
Question

Zoom Apps

  • July 29, 2022
  • 1 reply
  • 0 views

Hi  Team,

  I am unable to send a post request to my zoom apps. I am trying to create a login page but my login page submit button not hit my login end point please help .

 

// My code is 

html(lang='en')
block login
    form(id="login" action="auth/login" method="post")
        input(type="text", name="email", value="", placeholder="Username")
        br
        input(type="password", name="password", value="", placeholder="Password")
        br
        input(type="submit" value="Submit")
 
 
/* Routing */
app.use('/', indexRoutes);
app.use('/auth', authRoutes);
 
router.post('/login', async (req, res, next) => {
    console.log('login');
    try {
        const authData = await authService.loginUser(req.body);
        res.render('dashboard');
    } catch (err) {
        next(handleError(err));
    }
});

 

 

Thanks & Regards

 

Sumit Pathak

 

 

 

    1 reply

    Bort
    Employee
    Employee
    July 29, 2022

    Hi @Sumit143 

    Unfortunately, the Community Forum is likely not the best suited to handle such a question, but we do have the DevForum, for questions exactly like this.