PHP code example of exe / cloak
1. Go to this page and download the library: Download exe/cloak library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
exe / cloak example snippets
use Cloak\Http\Client;
$client = new Client(); // Initialises a HTTP/1.1 client by default
$response = $client->get('https://tls.peet.ws/api/all');
echo $response->getStatus(); // 200
echo $response->getHeader('content-type'); // application/json; charset=utf-8
echo $response->getBody(); // '{...}'