How to POST JSON array to Elastic Search

I find running JSON objects through 'jq(1)' an easy way to validate them for correctness. You could also use an online tool like sense or JSON lint (note that this might expose your data, so use test data).