在linux中使用用户名和密码向https URL发送Post请求
我需要向linux中的https(证书)URL发送post请求, URL有用户名和密码 可能吗?如果是,怎么办?如果不是,我怎么做 谢谢。卷曲数据:在linux中使用用户名和密码向https URL发送Post请求,linux,curl,https,http-post,Linux,Curl,Https,Http Post,我需要向linux中的https(证书)URL发送post请求, URL有用户名和密码 可能吗?如果是,怎么办?如果不是,我怎么做 谢谢。卷曲数据: curl --data "username=value1&password=value2" https://dzaczek.com/resource.php 您需要检查Web端变量名称和发布地址数据: curl --data "username=value1&password=value2" https://dzaczek.com
curl --data "username=value1&password=value2" https://dzaczek.com/resource.php
您需要检查Web端变量名称和发布地址数据:
curl --data "username=value1&password=value2" https://dzaczek.com/resource.php
您需要在Linux中使用curl工具检查Web端变量名称和发布地址,我接下来使用了:
curl——数据“延迟=0秒”https://username:password@本地主机:8080/作业/测试/构建
正如您所看到的,您只需要在地址username:password@
中插入一个参数,该参数名为delay
,值为0sec
它帮助我将请求发布到jenkins服务器。在Linux中,我使用了curl工具,下一步:
curl——数据“延迟=0秒”https://username:password@本地主机:8080/作业/测试/构建
正如您所看到的,您只需要在地址username:password@
中插入一个参数,该参数名为delay
,值为0sec
它帮助我将请求发布到jenkins服务器