I am using Apache httpclients. The api I am calling use an array as the payload. I am trying to figure out a way to send post request with an array as payload. Thanks. The curl is like
curl -N -i -X 'POST' https://myurl -d '{"data":["2021-11-01T00:00:00Z/2021-11-02T00:00:00Z"]}' -H "Content-Type:application/json"