1. Home
  2. Docs
  3. 笔记Linux
  4. 基本命令
  5. curl

curl

GET

curl http://xxxxx.xxx.xxx

curl http://xxx.xxx.xxx/login?username=xiaoming&passwd=abc123

POST

application/x-www-form-urlencoded 方式提交

eg: curl http://xxx.xxx.com -X POST -d "parma1=xx&param2=xxx"

PUT

DELETE

Tags ,
Was this article helpful to you? Yes No

How can we help?