Skip to content

Add README curl example for webhook events#329

Merged
0xNgoo merged 1 commit into
0xNgoo:mainfrom
spaicycookies:docs/readme-webhook-curl-269
Jul 1, 2026
Merged

Add README curl example for webhook events#329
0xNgoo merged 1 commit into
0xNgoo:mainfrom
spaicycookies:docs/readme-webhook-curl-269

Conversation

@spaicycookies

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds a README curl example that posts a webhook event to POST /webhooks/events, including the x-webhook-provider and x-anchor-signature (HMAC-SHA256 over the raw body) headers used by the current SDK.

How to test?

bun run test — new README webhook curl example suite asserts the example and header names are present.

Checklist

  • My code follows the code style of this project.
  • I have added tests for my changes.
  • I have updated the documentation accordingly.
  • I have run bun run test and bun run lint locally.

Issue Reference

Closes #269

@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

@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! 🚀

Learn more about application limits

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@0xNgoo 0xNgoo force-pushed the docs/readme-webhook-curl-269 branch from ded6602 to da3eb1b Compare July 1, 2026 14:26
@0xNgoo 0xNgoo merged commit 1e1f22a into 0xNgoo:main Jul 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add README curl example for webhook events

2 participants