-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Twilio expects an XML response to an incoming webhook, if it gets a content type like application/json it will show errors in the Twilio debugger. This commit ensures that the bot responds with a content type of text/xml and the an empty <Response></Response> element in the body.
- Loading branch information
1 parent
23a47f9
commit ec33d4a
Showing
2 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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