I can't get the API xmlrpc to work with browser shots its really annoying. The first method $method = 'nonces.challenge'; http://api.browsershots.org/xmlrpc/nonces.challenge/
How do I get the hostname that it meantions it seems just against me.
The nonces.verifyUser says it needs 2 inputs and I'm using
$params = array();
$params[username] = 'username';
$params[encrypted_password] = 'password';
$request = xmlrpc_encode_request ($method , $params);
echo "<pre>";
print_r($request);
echo "</pre>";
$context = stream_context_create(array('http' => array(
'method' => "POST",
'header' => "Content-Type: text/xml",
'content' => $request
)));
echo "<pre>";
print_r($context);
echo "</pre>";
$file = file_get_contents($browser_shots_url, false, $context);
print_r($file);
adn it says I'm missing one where am I going wrong?
Thanks for anyones help. I have to say the documentation is really basic and I'm just lost. Richard