generatedata
generatedata copied to clipboard
CSV API export fails if eol setting is omitted
In an API request to export a CSV file omitting the eol setting results in a single row.
e.g.:
this works:
"export": {
"type": "CSV",
"settings": {
"delimiter": ",",
"eol": "Unix"
}
}
this returns a single result:
"export": {
"type": "CSV",
"settings": {
"delimiter": ","
}
}
Example input users.txt
This can be sent to the API endpoint via
curl -X POST -H "Content-Type: application/json" -d @users.txt http://localhost:8080/api/v1/data