cancel
Showing results for 
Search instead for 
Did you mean: 

Zoom Apps

Sumit143
Listener

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

Spoiler
 

 

 

1 REPLY 1

Bort
Community Champion | Zoom Employee
Community Champion | Zoom Employee

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.