Hallo, Entdecker! An dieser Seite wird aktiv gearbeitet, oder sie wird noch übersetzt. Die neuesten und genauesten Informationen findest Du in unserer englischsprachigen Dokumentation.

Diese Version von GitHub Enterprise wurde eingestellt am 2021-03-02. Es wird keine Patch-Freigabe vorgenommen, auch nicht für kritische Sicherheitsprobleme. Für eine bessere Leistung, verbesserte Sicherheit und neue Features nimm ein Upgrade auf die neueste Version von GitHub Enterprise vor. Wende Dich an den GitHub Enterprise-Support, um Hilfe beim Upgrade zu erhalten.

Testing webhooks

Review your webhook deliveries on GitHub, including the HTTP Request and payload as well as the response.

Inhalt dieses Artikels

Now that you've configured your local server, you might be interested in pushing your code to the limits. To that end, GitHub's webhooks view provides some tooling for testing your deployed payloads.

Listing recent deliveries

Every webhook has its own "Recent Deliveries" section, which lists, at a glance whether a delivery was successful (green check) or failed (red x). You can also identify when each delivery was attempted.

GitHub Enterprise Server keeps a log of each webhook delivery for 8 days.

Recent Deliveries view

Digging into results

By expanding an individual delivery, you'll be able to witness precisely what information GitHub is attempting to send to your server. This includes both the HTTP Request and Response.

Request

The webhook delivery view provides information on which Headers were sent by GitHub. It also includes details about the JSON payload.

Viewing a payload request

Response

The response tab lists how your server replied once it received the payload from GitHub. This includes the status code, the headers, and any additional data within the response body.

Viewing a payload response