Last active
December 19, 2015 12:59
-
-
Save devinrader/5959280 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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