add https verify false
This commit is contained in:
parent
72a7543da3
commit
03e6a955bf
@ -27,7 +27,8 @@ class HttpService
|
|||||||
public static function get(QueryList $ql,$url,$args = null,$otherArgs = [])
|
public static function get(QueryList $ql,$url,$args = null,$otherArgs = [])
|
||||||
{
|
{
|
||||||
$otherArgs = array_merge([
|
$otherArgs = array_merge([
|
||||||
'cookies' => self::getCookieJar()
|
'cookies' => self::getCookieJar(),
|
||||||
|
'verify' => false
|
||||||
],$otherArgs);
|
],$otherArgs);
|
||||||
$html = GHttp::get($url,$args,$otherArgs);
|
$html = GHttp::get($url,$args,$otherArgs);
|
||||||
$ql->setHtml($html);
|
$ql->setHtml($html);
|
||||||
@ -37,7 +38,8 @@ class HttpService
|
|||||||
public static function post(QueryList $ql,$url,$args = null,$otherArgs = [])
|
public static function post(QueryList $ql,$url,$args = null,$otherArgs = [])
|
||||||
{
|
{
|
||||||
$otherArgs = array_merge([
|
$otherArgs = array_merge([
|
||||||
'cookies' => self::getCookieJar()
|
'cookies' => self::getCookieJar(),
|
||||||
|
'verify' => false
|
||||||
],$otherArgs);
|
],$otherArgs);
|
||||||
$html = GHttp::post($url,$args,$otherArgs);
|
$html = GHttp::post($url,$args,$otherArgs);
|
||||||
$ql->setHtml($html);
|
$ql->setHtml($html);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user