Webhook
Webhook のテスト。ビン:ビンを作成し、Webhook の送信元を /api/webhooks/{binId} に向け、届いた内容を確認します。上限はビン 100 個(古いものから削除)、ビンごとに 50 リクエスト(新しいものを保持)、キャプチャするボディは 256KB まで。サンプル:有効な署名ヘッダー付きの Stripe・GitHub・Shopify の固定イベントペイロードで、署名検証をテストできます。このコントローラーが外部に HTTP 呼び出しをすることはありません。Webhook のテスト。ビン:ビンを作成し、Webhook の送信元を … に向け、届いた内容を確認します。上限はビン 100 個(古いものから削除)、ビンごとに 50 リクエスト(新しいものを保持)、キャプチャするボディは 256KB まで。サンプル:有効な署名ヘッダー付きの Stripe・GitHub・Shopify の固定イベントペイロードで、署名検証をテストできます。このコントローラーが外部に HTTP 呼び出しをすることはありません。
あなたのアカウントでこれらのエンドポイントが使えます。各エンドポイントのページの Try it でリクエストを送れます。
- GETPOSTPUTPATCHDELETEHEADOPTIONS
https://api.testingapis.com/api/webhooks/{binId}Capture any request sent to a binCapture any request sent to a bin. - GETPOSTPUTPATCHDELETEHEADOPTIONS
https://api.testingapis.com/api/webhooks/{binId}/{rest}Capture any request sent to a binCapture any request sent to a bin. - POST
https://api.testingapis.com/api/webhooks/binsCreate a webhook bin that captures incoming requestsCreate a webhook bin that captures incoming requests. - GET
https://api.testingapis.com/api/webhooks/bins/{id}Inspect a bin and the requests it capturedInspect a bin and the requests it captured. - DELETE
https://api.testingapis.com/api/webhooks/bins/{id}Delete a binDelete a bin. - DELETE
https://api.testingapis.com/api/webhooks/bins/{id}/requestsClear a bin's captured requestsClear a bin's captured requests. - GET
https://api.testingapis.com/api/webhooks/samplesList the sample signed webhook eventsList the sample signed webhook events. - GET
https://api.testingapis.com/api/webhooks/samples/{provider}Get a signed sample event for testing signature verificationGet a signed sample event for testing signature verification.
リクエストの例
List the sample signed webhook events. 完全なリファレンスと Send ボタン(英語).
cURL
curl -X GET "https://api.testingapis.com/api/webhooks/samples"レスポンス · 200 OK
{
"signingSecret": "whsec_apibee_test_secret",
"note": "Each sample returns the exact signed payload as the body, with the provider's signature headers. ?format=envelope returns everything as JSO…
"samples": [
{
"provider": "stripe",
"eventType": "payment_intent.succeeded",
"signatureHeader": "Stripe-Signature",
"url": "/api/webhooks/samples/stripe"
},
{
"provider": "github",
"eventType": "push",
"signatureHeader": "X-Hub-Signature-256,
… (10 more lines)サインインして詳細を見る
これらのエンドポイントのパラメータ、リクエストとレスポンスの例、ライブの Try it パネルは、サインインしたメンバー向けです。アカウントは無料で、数秒で作成できます。