Linux指令学习记录

  • linux curl访问
  1. curl get方式提交数据

curl -G -d "name=xjj&age=18" http://www.baidu.com

  1. curl post方式提交数据

curl localhost:9999/api/test -X POST -d "title=小杰杰&content=无敌"

若有错误,恳请指正,万分感谢!!!

猜你喜欢

转载自my.oschina.net/u/3095034/blog/2874198
今日推荐