Created
January 8, 2014 03:13
-
-
Save keranm/8311160 to your computer and use it in GitHub Desktop.
Get the list of company files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// lets get a list of the company files - note we use the base API url from the functions file | |
$companyFileList = getURL( 'http://localhost:8080/accountright' ); | |
// it returns as JSON so lets decode it into a PHP object | |
$companyFileList = json_decode( $companyFileList ); | |
echo '<h1>Company File list - JSON</h1>'; | |
echo '<pre>'; // simple html tag to roughly render the HTML | |
var_dump($companyFileList); | |
echo '</pre>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment