Headers we send:
X-Clustrix-Signature: t=TIMESTAMP,v1=HASHX-Clustrix-EventX-Clustrix-Delivery-Id
Verify it
$expected = hash_hmac("sha256", $rawBody, $signingSecret);\nif (!hash_equals($expected, $providedHash)) abort(400);
Headers we send:
X-Clustrix-Signature: t=TIMESTAMP,v1=HASHX-Clustrix-EventX-Clustrix-Delivery-Id$expected = hash_hmac("sha256", $rawBody, $signingSecret);\nif (!hash_equals($expected, $providedHash)) abort(400);
Was this helpful?