예제 #1
0
) 
*/
// Modify an Application
$params = array('app_id' => '23061826722302672', 'answer_url' => 'http://yourexample.com');
$response = $p->modify_application($params);
// print_r ($response['response']);
/*
Sample Output
( 
    [api_id] => 16bf2cf6-ac4c-11e4-b932-22000ac50fac 
    [message] => changed 
) 
*/
// Delete an Application
$params = array('app_id' => '23061826722302672');
$response = $p->delete_application($params);
// print_r ($response);
/*
Sample Output
( 
    [status] => 204 
    [response] => 
)

Unsuccessful Output
 ( 
    [status] => 404 
    [response] => Array ( 
        [api_id] => c0cf0530-ac39-11e4-96e3-22000abcb9af 
        [error] => not found 
    x`)