...
Should you need or wish to export the request response output into a standalone file, append the following commands to the cURL request.
CSV output to a file append →
| tee -a output.csv
to requestraw NDJSON output to a file append →
| tee -a output.json
to requestif user requires output to be JSONlinted JSON is needed, use
| jq -s | tee -a output.json
ensure that
?dformat=
matches the output file extensioncheck what directory output is going to by using
ls