PHP code example of chatagency / laravel-signed-requests
1. Go to this page and download the library: Download chatagency/laravel-signed-requests 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/ */
chatagency / laravel-signed-requests example snippets
curl --request POST \
--url //{YOUR_LOCAL_ENV_SITE_URL_MAYBE?}/api/test \
--header 'Content-Type: application/json' \
--header 'X-BaseSignature: 2fde638dd705cc78c2cfe315f395b91ce3e09b2c9637f200cae65fc3041f4e4f' \
--data '{"test":1}'