PHP code example of o6web / data-request-api

1. Go to this page and download the library: Download o6web/data-request-api 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/ */

    

o6web / data-request-api example snippets


use o6web\DataRequestApi\DataRequestApi;

$dataRequestApi = new DataRequesApi($root_url, $token);

$dataRequestApi->request('GET', 'request/path', ['arg' => 'value']);