I’m making a REST call to view my data as a CSV:
http://www.mockaroo.com/api/generate.csv?key=[key_id]
But I get the following error:
{“error”:“A JSON text must at least contain two octets!”}
I assume I’m missing something simple :0)
I’m making a REST call to view my data as a CSV:
http://www.mockaroo.com/api/generate.csv?key=[key_id]
But I get the following error:
{“error”:“A JSON text must at least contain two octets!”}
I assume I’m missing something simple :0)
You either need to specify a “schema” param to use an existing schema by name or a “fields” param to define the fields to generate.
Doh! Many thanks for the speedy response :0)