Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Template Plugin: Text Samples

This sample demonstrates, how to create text from a template.

Use the template plugin to create body content from a template. Placeholders in the template can be filled with values from variables.

Running the Example

Execute the following steps:

  1. Go to the examples/templating/text directory.

  2. Have a look at proxies.xml.

  3. Open a commandline and execute membrane.sh or membrane.cmd

  4. Run this command from a second commandline:

    ❯ curl http://localhost:2000/text?name=Joe
    Hello Joe!
  5. Then execute:

    curl http://localhost:2000/text?name=Joe     

See: