📜  http get cli - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:15.206000             🧑  作者: Mango

代码示例1
# GET
curl "http://www.example.com"

# POST
curl -X POST -H "Content-Type: application/json" \
 -d '{"username":"abc","password":"abc"}' \
 http://www.example.com