render_document
render_document
Render the current SWML document as a JSON string. This is the serialized form that gets returned to SignalWire when a call requests SWML.
Returns
str — The SWML document serialized as a JSON string.
render_document
Render the current SWML document as a JSON string. This is the serialized form that gets returned to SignalWire when a call requests SWML.
str — The SWML document serialized as a JSON string.