After meeting with some good friends from the developer evangelist team at Twilio, we’ve added a couple additional features to Twimlbin at their request.
1. XML Output
The first of these new features will give users the ability to force Twimlbin to render the actual XML rather than the HTML interface when viewing in a browser by appending “/raw” to the end of any Twimlbin URL.
For example, if you visit twimlbin.com/external/6b322bf0fda7ae7a, you will see the entire Twimlbin rendered as an HTML friendly view. But with the new feature, when you visit twimlbin.com/external/6b322bf0fda7ae7a/raw, you’ll see the raw XML rendered to your browser.
Here’s another hint: This will work with any interface that accepts XML.
2. UTF-8 Encoded Character Handling
Another of the newly added features gives users the ability to properly validate UTF-8 encoded characters. Previously, if you put special characters (like emoji) in a Twimlbin, it would return back an invalid Twiml. This has been fixed and updated.
Keep an eye open for additional new features coming soon. We’ll also be adding support for all of the new Twiml verbs so things like Queues will properly validate as well!