Skip to content

Instantly share code, notes, and snippets.

@musikele
Created September 13, 2016 13:31
Show Gist options
  • Save musikele/77cf3cf81cd9db9bd0bdac8003093bbe to your computer and use it in GitHub Desktop.
Save musikele/77cf3cf81cd9db9bd0bdac8003093bbe to your computer and use it in GitHub Desktop.
//here is the remote call...
$objectresult = $client->call('Encrypt', $param);
//after the call, this code will print the request and the response
echo '<h2>Request</h2>';
echo '<pre>' . htmlspecialchars($client->request, ENT_QUOTES) . '</pre>';
echo '<h2>Response</h2>';
echo '<pre>' . htmlspecialchars($client->response, ENT_QUOTES) . '</pre>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment