@text section defines HTTP routes that return text/plain content


  • Routes must start with a leading slash
  • Dashes and underscores are not allowed

Additional bits

  • Advised maximum of 100 characters
  • Optional Express-style URL parameters denoted with colons (:)
  • Currently only GET supported, read more here


This .arc file defines some typical text routes:



The .arc above generates the following functions:

├── text
¦   ├── get-robots-txt/
│   └── get-humans-txt/
├── .arc
└── package.json

Next: Defining routes with @xml