Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 399 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 399 Bytes

Formatter Action Block

Takes two inputs: "template" and "*" meaning it can take any input keys. It uses those keys with the template to produce an output string.

Example Usage

curl -v -X OPTIONS http://block-formatter.herokuapp.com

curl -i -X POST -d '{"inputs":[{"template":"Hello {{name}}!", "name":"Matthew"}]}' -H "Content-Type: application/json" http://block-formatter.herokuapp.com