Hello i’m trying to create an WebHook for Asana Events, usign PHP.
here is my code:
public function creat_webhook(Request $request)
{
$client = \Asana\Client::accessToken(env('ASANA_PERSONAL_TOKEN'));
$data = array('target' => 'MYLINKTOPOST',
'resource' => '2235812');
$result = $client->webhooks->createWebhook($data);
return $result;
}
but when i try to run it, i receive ‘not found’ error: