apiRouter.js 276 Bytes
const express = require('express');
const router = express.Router();

router.post('/videoResult', function(req,res) {
    file = req.body[0].preview.split(',')[1];
    console.log(file.length);
    
    return res.json({data:'myData'});
});

module.exports = router;