Created
September 2, 2011 00:49
-
-
Save sluther/1187693 to your computer and use it in GitHub Desktop.
Parse Tickets with Web-API in Cerb5
This file contains hidden or 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
$cerb5 = new Cerb5_WebAPI($username, $password); | |
$postfields = array( | |
array('message', file_get_contents('restapitestmessage.msg')), // this file should be located in the same directory as parse.php. | |
); | |
$result = $cerb5->post($base_url . 'parser/parse.json', $postfields); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment