curl发送POST请求 今天写Gitlab的一个merge request hook,使用curl来简化测试请求.简单备忘一下,如何使用curl发送POST请求.以下为使用curl发送一个携带json数据的POST请求.
命令介绍
-H, —header LINE Custom header to pass to server (H)
-d, —data DATA HTTP POST data (H)
示例命令
推荐
- Shell脚本学习指南
androidyue ©著作权
curl发送POST请求 今天写Gitlab的一个merge request hook,使用curl来简化测试请求.简单备忘一下,如何使用curl发送POST请求.以下为使用curl发送一个携带json数据的POST请求.
-H, —header LINE Custom header to pass to server (H)
-d, —data DATA HTTP POST data (H)
使用curl模拟浏览器或JavaScript发送get或post请求。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M