By the sentence curl -X POST -H \'Content-Encoding: gzip\' http://xxx/api -T example.jsonl.gz, I can successfully send the .gz file to my server an
curl -X POST -H \'Content-Encoding: gzip\' http://xxx/api -T example.jsonl.gz
.gz