Drupal http request
1. Drupal uses stream_context_create to make http request
2. To disable ssl verification you can do following for example,
2. To disable ssl verification you can do following for example,
$response = drupal_http_request($request_uri, array( 'context' => stream_context_create(array('ssl' => ['verify_peer' => FALSE, 'verify_peer_name' => FALSE])),));
Comments
Post a Comment