We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running the demo server for twilio produces TypeError: TwimlResponse is not a constructor when the /sms/receive path is used.
TypeError: TwimlResponse is not a constructor
/sms/receive
package.json is specifying "twilio": "^3.30.3"
package.json
"twilio": "^3.30.3"
Handler code is
app.post('/sms/receive', bodyParser, (req, res) => { const sender = req.body.From const body = req.body.Body const resp = new TwimlResponse() resp.message(`Hello, ${sender}, you said: ${body}`) res .status(200) .contentType('text/xml') .send(resp.toString()) })
The text was updated successfully, but these errors were encountered:
@timburgess 👋 Thanks for reporting the issue!
@michaelawyu Could you please have a look at this? Seems like there's a problem with the appengine/twilio sample. Thank you.
appengine/twilio
Sorry, something went wrong.
michaelawyu
No branches or pull requests
Running the demo server for twilio produces
TypeError: TwimlResponse is not a constructor
when the/sms/receive
path is used.package.json
is specifying"twilio": "^3.30.3"
Handler code is
The text was updated successfully, but these errors were encountered: