My result set is missing the column names when count == 1. I tried using &array=true and other parameters, but it only returns column names when count > 1.
$ curl -H ‘X-API-Key: REDACTED’ “https://my.api.mockaroo.com/test/RA123/?count=1”
Shoes,100.00
$ curl -H ‘X-API-Key: REDACTED’ “https://my.api.mockaroo.com/test/RA123/?count=2”
Description,Amount
Shoes,100.00
Pants,200.00
My Handler script is nothing special, last line is:
generate params[‘count’]