curl get方式提交数据linux
curl -G -d "name=xjj&age=18" http://www.baidu.com
curl post方式提交数据(表单)docker
curl localhost:9999/api/test -X POST -d "title=小杰杰&content=无敌"
curl post方式提交数据(json)json
curl -H "Content-Type:application/json" -X POST --data '[{"name":"xjj","age":18},{"name":"xkk","age":16}]' http://localhost:8080/api/test
curl delete方式删除数据vim
curl -v -X DELETE localhost:8080/test/1
查看mq5672端口的监听状况api
netstat -an|grep 5672
统计vim匹配的该值数量app
:%s/匹配值//gn
复制文件到容器里面curl
docker cp /etc/localtime 容器id:/etc/localtime
如有错误,恳请指正,万分感谢!!!post