I'm trying to use cURL via php using the example from user "GotInc"
below to access my pbwiki...
http://groups.google.com/group/pbwiki-api/browse_thread/thread/5503769517ec8df5
Here's the code I'm actually running and the error I'm receiving. I
fear I just need a fresh pair of eyes to take a look.
<pre>
<?php
require_once 'includes/curl.php';
$curl = new Curl;
$url = "
https://mysite.pbwiki.com/api_v2/";
$vars = array(
"op" => "GetPage",
"page" => "FirstPage",
"_type" => "jsontext",
"read_key" => "MYSECRETKEY"
);
$response = $curl->post($url, $vars);
print_r($response->headers);
echo $response;
?>
</pre>
Notice: Trying to get property of non-object in /Applications/MAMP/
htdocs/html/test-decode.php on line 12
Thanks in advance for the help.