Closed thschmitt closed 1 year ago
Removed error-prone logic to always check if there is data on standard input which can cause the uipathcli to hang in some cases.
Instead, the user can load the request body data from disk or standard input by using the --file parameter.
--file
In order to tell the uipathci to read standard input and pass it as the request body, the user can provide a dash as the file argument --file -
--file -
Example: Reading file from disk
uipath du digitizer digitize --file documents/invoice.pdf
Example: Reading from standard input
echo "hello world" | uipath du storage upload --object-key "my-data" --file -
Removed error-prone logic to always check if there is data on standard input which can cause the uipathcli to hang in some cases.
Instead, the user can load the request body data from disk or standard input by using the
--file
parameter.In order to tell the uipathci to read standard input and pass it as the request body, the user can provide a dash as the file argument
--file -
Example: Reading file from disk
uipath du digitizer digitize --file documents/invoice.pdf
Example: Reading from standard input
echo "hello world" | uipath du storage upload --object-key "my-data" --file -