How to pass file or directory path as a REST API parameter to Fistify endpoint

后端 未结 0 986
醉酒成梦
醉酒成梦 2021-01-31 01:46

Actually the question is in the header. A REST endpoint definition is below:

fastify.get(\'/dir/:path\', async (request, reply) => {
    let res = await remote         


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