NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 35 min
Check a webhook signature format against the written design using one delivery to a test receiver and the signing code, without replaying anything.
At 10:30:22 on Thursday the TEST receiver at hooks-test.ledgerline.lab logged one delivery from Ledgerline for an invoice.approved event. It carried the header X-Ledgerline-Signature: sha256=<redacted>. The release 2.5 standard says the header should read t=<unix seconds>,v1=<redacted>, with the signature covering the time as well as the body.
A webhook is a request that Ledgerline sends to an address its customer chose. The receiver acts on it, perhaps by marking an order as billable or posting to an accounts system. It therefore needs to know two things: that Ledgerline sent the message, and that the message is current. The delivery you saw can answer the first. It has nothing in it for the second.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in