Respond With
If we need to render a template to html render("template.slang") works nicely. A lot of times we want to respond with json, xml, text or something else. In those cases we use respond_with.

Examples Usages
Responding with JSON
Responding with XML
Responding with Text
Responding to All
Last updated