diff options
Diffstat (limited to 'Api.php')
-rw-r--r-- | Api.php | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -0,0 +1,25 @@ +<?php +require_once('include_me.php'); + +use SSLLabsApi\Calls\AnalyzeCall; +use SSLLabsApi\Calls\GetEndpointDataCall; + +/* +//Analyze Call +$parameters = array('host' => 'ssllabs.com'); +$analyzeCall = new AnalyzeCall($parameters); +$analyzeCall->setDevMode(true); + +echo '<pre>'; +print_r($analyzeCall->send()); +echo '</pre>'; +*/ + +//getEndpointData Call +$parameters = array('host' => 'ssllabs.com', 's' => '64.41.200.100'); +$getEndpointDataCall = new GetEndpointDataCall($parameters); +$getEndpointDataCall->setDevMode(true); + +echo '<pre>'; +print_r($getEndpointDataCall->send()); +echo '</pre>';
\ No newline at end of file |