1👍
Twilio team member here.
Are you importing twiml? Try making the first line of your say-hello function:
r = twiml.Response()
0👍
I don’t see anything obviously wrong in what you are doing, so I would suggest removing the @twilio_view
decorator and logging the X-Twilio-Signature header in your view to see what it is and manually checking to see if it’s correct. (Basically, redoing the logic of the @twilio_view
decorator in your view, just to see what’s going on).
This link kinda suggests that you should use a SSL URL before Twilio will add the X-Twilio-Signature to its request, but I’m not really sure if that’s true.
Source:stackexchange.com