2

I am using express 3.0.3.

return res.redirect('/finished/'+result[0].code)

In this code I query a mongodb and I have a result from a POST ajax method query, but I redirect from post url to a get url with param result.code

So I return to the user a page that contain only the code from result, but resently I discover that I have to add more information from the result to return to the user, so how can I redirect to /finished but passing an array instead a param...

Mattias
  • 9,211
  • 3
  • 42
  • 42
andrescabana86
  • 1,778
  • 8
  • 30
  • 56

0 Answers0