Sending data by post request with for batch ingestion


I have build a layer which will get data from from production every 15 mins and send json data to druid for ingestion. But the below one specify the data to insgest should be there in local system.

Is there any way if I can send data using post request along with spec ?



curl -X 'POST' -H 'Content-Type:application/json' -d @examples/indexing/wikipedia_index_hadoop_task.json localhost:8090/druid/indexer/v1/task

Hi Aman, you might be interested in looking at: You can use that library for posting requests to Druid.