I have a webhook Server that get a requests from graph-api of whatsapp api, and all the incoming requests have only one route without any specification routeing. I looking for the best practices to menage and route the incoming requests.
For now, i build a middleware that change the req.url according to that body object, then next to the express router, is it good?
New contributor
Meir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.