Skip to content

Instantly share code, notes, and snippets.

@devinrader
Last active December 19, 2015 12:59
Show Gist options
  • Save devinrader/5959280 to your computer and use it in GitHub Desktop.
Save devinrader/5959280 to your computer and use it in GitHub Desktop.
local twilio = require 'twilio'
local AUTHTOKEN = '[auth_token]'
if twilio.verify(request, AUTHTOKEN) then
return {['Content-Type']='application/xml'},
[[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n
<Response>
<Say>Hello, Monkey</Say>
</Response>]]
else
return 403
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment