Add README curl example for webhook events#329
Conversation
|
@spaicycookies Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
There was a problem hiding this comment.
Code Review
This pull request adds a new 'Webhook events' section to the README.md file, detailing how to post webhook events with signature verification using curl. Additionally, a new test suite is introduced in tests/readme-webhook-curl.test.ts to ensure the README contains the correct curl command, headers, and signature generation steps. There are no review comments, and we have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
ded6602 to
da3eb1b
Compare
What does this PR do?
Adds a README curl example that posts a webhook event to
POST /webhooks/events, including thex-webhook-providerandx-anchor-signature(HMAC-SHA256 over the raw body) headers used by the current SDK.How to test?
bun run test— newREADME webhook curl examplesuite asserts the example and header names are present.Checklist
bun run testandbun run lintlocally.Issue Reference
Closes #269