Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- authRouter.post("/api/urhash", async (req, res, next) => {
- try {
- const {answer} = req.body;
- //ПРОПИШИ ТУТ СОХРАНЕНИЯ ОТВЕТА В БД / ИЛИ ВЫВОД В КОНСОЛЬ, ГДЕ ТЫ ЗАПУСКАЕШЬ БЭК
- } catch (e) {
- next(e);
- }
- })
Add Comment
Please, Sign In to add comment