Example of Permalinks - Check
Permalinks - Check realized with PHP
This PHP based example fetches the MD5 checksum and the capture date of the most recent document using cURL.
<?php
// Get cURL resource
$curl = curl_init();
// Set options
curl_setopt_array($curl, [
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_URL => 'https://api.hansainvest.com/docredirecter/v2/doccheck/fsprivat/DE0008479023/de/de',
CURLOPT_USERAGENT => 'Sample cURL Request',
]);
// Send the request & save response to $respXml
$respXml = curl_exec($curl);
// Close request to clear up some resources
curl_close($curl);
// Transform response XML into object
$docinfo = simplexml_load_string($respXml);