Get All Document Properties (PHP REST)

Skip to end of metadata
Go to start of metadata
This example allows you to get all document properties using Saaspose.Pdf REST API in your PHP applications.
We're referring to the following common methods to perform general operations:


	    $fileName = "MyFile.pdf";
	    
	    //set application information
	    $AppSID = "77**************";
	    $AppKey = "89***********";
	    
	    //build URI to replace image
	    $strURI = "http://api.saaspose.com/v1.0" . "/pdf/" . $fileName . "/documentProperties";
	    //sign URI
	    $signedURI = Sign($strURI);
	    $responseStream = processCommand($signedURI, "GET", "", "");
	    $response_arr = json_decode($responseStream);
	    var_dump($response_arr->DocumentProperties->List);
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.