How do I get the full route path including the parameters from express or extend the request object to do so?

前端 未结 0 1618
攒了一身酷
攒了一身酷 2021-01-27 00:58

I have the following route in my express API:

function postTimecardCompany(server) {
    server.post(\'/api/v1/timecard/:userId\', (req, res) => {    
                 


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题