Read File
This processor will read the contents of a file at the specified path. This processor will return an error if any of the required parameters are missing or if the parameters are of the wrong type. The path parameter is required.
- type:
os.readfile - params:
- path: the path of the file to read
Example
Section titled “Example”Read the contents of a file.
- id: read type: os.readfile params: path: "/tmp/test.txt"