html tool

2022年7月26日星期二

curl发送gzip压缩数据

参考:https://stackoverflow.com/questions/44307771/curl-command-a-gzipped-post-body-to-an-apache-server 15 Single line: echo '{"mydummy": "json"}' | gzip | curl -v -i --data-binary @- -H "Content-Encoding: gzip" http://localhost/mymodule

没有评论:

发表评论