Passing Current time in Logstash input plugin 'exec' for executing API in curl

Does the request body need to be an array? It does not appear to be valid JSON to me.