-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Hi I'm trying to have a route respond with an XML string like at this URL https://demo.twilio.com/docs/voice.xml.
Thanks for trying our documentation. Enjoy!
http://demo.twilio.com/docs/classic.mp3
But I only get formatted HTML.
My test code is below: found In utils\twilio\twilio.component.ts
import { Component } from '@angular/core';
import { Router } from '@angular/router';
@component({
selector: "twilio",
template: <div [outerHTML]="xml"></div>
})
export class TwilioComponent {
xml = '\n' +
'Thanks for trying our documentation. Enjoy!\n' +
'http://demo.twilio.com/docs/classic.mp3\n' +
'';
}
Any suggestions?
Metadata
Metadata
Assignees
Labels
No labels