Hi there,
My latest example is:
$contact_id = ''635815000000270001;
$data = array( 'JSONString' => '{"contact_name" => "Testbedrijf XX"}' );
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
Error is:
{"code":37,"message":"The HTTP method POST is not allowed for the requested resource"}
So what should be the correct way?