PHP code example of ryodevz / httpfulwrapper
1. Go to this page and download the library: Download ryodevz/httpfulwrapper 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/ */
ryodevz / httpfulwrapper example snippets
use Ryodevz\HttpfulWrapper\Http;
p::get('https://ytryo.my.id/api/animeku/search?q=naruto');
// Send
$response = $request->send();
// Body
var_dump($response->body);
use Ryodevz\HttpfulWrapper\Http;
use Ryodevz\HttpfulWrapper\Mime;
=> '[email protected]',
'password' => 'secret'
], Mime::FORM)->send();
var_dump($response->body);