echo
SourcesInjects a literal JSON value into the pipeline. The argument is parsed as JSON; if parsing fails it is treated as a plain string. Use this to test pipeline logic without needing an external API.
Syntax
echo:valuevalueAny valid JSON value: array, object, number, or stringUse cases
| Use case | Description | URL | |
|---|---|---|---|
| Sort literal numbers | Test sort order against a known set of numbers without an external call. | https://httpip.es/api/pipe/echo:[5,3,1,4,2]|sort | |
| Filter hardcoded records | Validate filter logic against a controlled dataset before wiring up a real API. | https://httpip.es/api/pipe/echo:[{"role":"admin"},{"role":"viewer"},{"role":"admin"}]|filter:role,eq,admin | |
| Count items in a list | Quickly count how many elements are in a literal array. | https://httpip.es/api/pipe/echo:["alpha","beta","gamma","delta"]|count | |
| Wrap a scalar value | Turn a bare string into a named JSON object using wrap. | https://httpip.es/api/pipe/echo:hello|wrap:message | |
| Deduplicate a list | Remove duplicate values from a known list to verify distinct logic. | https://httpip.es/api/pipe/echo:["js","python","js","go","python"]|distinct|sort |