Hi there,I have a node.js app with Express js , i am using a separate Express router file to organize my routes, i need to send the data received at the router.post handler to the main script and deal with it there, but exporting the data with module.export doesn't help cause these data variables are empty till the actual post request happen.Any advice ?
Submitted August 06, 2019 at 12:46PM by max-rh
No comments:
Post a Comment