我有一个express.js RESTAPI,它是我用各种路由创建的。我想创建一个调用另一个RESTAPI的路由,然后返回结果。router.post('/CreateTicket', cors(corsOptions), function(req, res, next) {
//make a call to another restapi and then res.send
我有一个spring引导服务,它需要在不同的rest路由中验证多部分最大文件大小,例如,所有v1路由为5MB,v2为10 5MB。e.g: api/v1/route1 -> max file upload size is 5MB
api/v2/route2 -> max file upload size is 10MBapi/v2/route3 -> max fil