You may use below curl command to test the data inputs. Please use your indexer IP and token generated before using this curl.
curl -k http://Indexer_IP:8088/services/collector -H "Authorization:Splunk token" -d "{\"sourcetype\" : \"test_hec_logs\",\"event\":\"Hello world from Custom Application\"}"