Home > Backend Development > PHP Tutorial > 怎么用CURL向HTTPS发送请求并且获取返回值急

怎么用CURL向HTTPS发送请求并且获取返回值急

WBOY
Release: 2016-06-23 13:46:08
Original
986 people have browsed it

各位大神怎么用curl 或者snoopy向https网站发送get  或者post请求 可以加qq2042814742详谈


回复讨论(解决方案)

如果是有证书且证书安装无误,则和项 http 网站提交是一样的
否则需设置 CURLOPT_SSL_VERIFYPEER 属性为假,即不验证证书

哪个验证书 直接在网上下嘛

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template