0

I am a beginner in node js. I am trying to do a @httpGet request. My base url is localhost:3000. If I define the get like

@httpGet('/:path')

and give the url like

localhost:3000/index.html

Then I am getting the index.html as the path v alue.

But if I pass multiple values like

localhost:3000/assets/js/app.js

I would like the path to return the value assets/js/app.js.

But it is not happening. Is there any way to get this value as a string? Or return all these value as an array?

Please help.

Arun
  • 3,640
  • 7
  • 44
  • 87

0 Answers0