we have a API URL need to push Jason data to Splunk Through Cloud HTTP EVENT COLLECTOR
curl -X GET -u admin https://d*****.n******.com/api/1.0/devices/all ------- here is the API URL where we used to get data in to .txt file
I have Splunk Cloud with Token needed curl command o push logs from API URL to Splunk
What is the question? That does not sound like anything related to TA-Send_to_HEC. That sounds like you need to develop code to pull from an api and send to a HEC receiver outside of Splunk.