I am trying to set up a twilio messaging response using Twiml. I am using the documentation from this page: Twilio Documentation.
I believe I have done everything correctly and have set up the MessagingResponse exactly as displayed in the doc. When I send a message saying 'hello' from my phone to the http POST route, the req.body.Body reads as 'undefined' and I get an SMS response coming from my 'else' statement saying 'No Body param match...' when I am in fact expecting a response saying "Hi!". Is there something that I'm missing?
If it helps at all, here is my repo: https://github.com/branaust/FitFH
UPDATE:
Alright after a couple hours I have found the solution. For whatever reason, I needed to add the body parser directly into my route file.