How i can made an api who start chrome when recive a post?



  • How i can made an api who start chrome when recive a post?
    I tryed to build an api with nodejs but it doesn't work
    code:

    try{
    
    
    
    const express = require('express');
    
    const app = express();
    const port = 3000;
    
    
    app.get('/', (req, res) => {
    
        console.log('New request')
        res.send(res);
    });
    app.listen(port, () => console.log(``))
    
    }catch(e){
        console.log(e)
    }
    

    @support


Log in to reply