HI All,
i want to asking about my case , how to post content file of data using curl
.
currently if i wanna post data file , i can use this command below :
curl --cacert maxaj.cer -X POST -F 'fileupload=@/data/report_3300_xxx/log/traffic_3300_20180319_1051.txt' https://hostname:22414/mbpreport/
but my problem is , i just want post content files of " /data/report_3300_xxx/log/traffic_3300_20180319_1051.txt
"
the content file is below:
2018-03-19 10:45|757|757|754|754
2018-03-19 10:46|801|801|804|804
2018-03-19 10:47|789|789|783|783
2018-03-19 10:48|800|800|808|808
2018-03-19 10:49|753|753|752|752
could u please help how to post only content file above with curl
?
Thanks
Fajar