PHP code example of os2forms / os2forms_rest_api

1. Go to this page and download the library: Download os2forms/os2forms_rest_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/ */

    

os2forms / os2forms_rest_api example snippets

sh
> curl --silent --header 'api-key: …' 'https://127.0.0.1:8000/webform_rest/some_webform_id/submissions?starttime=2023-10-01'