PHP Classes

File: index.php

Recommend this page to a friend!
  Packages of Hicri   PHP HTTP Request Build   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP HTTP Request Build
Build and send HTTP requests from parameters
Author: By
Last change:
Date: 3 years ago
Size: 217 bytes
 

 

Contents

Class file image Download
<?php

require 'Build.php';
require "HttpResponse.php";

$vvv = Build::connection()
    ->baseUrl('https://www.drupal.org/')
    ->query(['type' => 'book'])
    ->get('api-d7/node.json');

print_r($vvv->toArray());