From 71471c54a49005e0f37a9efef1944ea68da6fe5e Mon Sep 17 00:00:00 2001 From: cloud_melon Date: Fri, 30 Mar 2018 23:15:20 +0200 Subject: [PATCH] Clarify the webhook's definiton in webhooks.md (#6243) * Clarify the webhook's definiton in webhooks.md Here is necessary to clarify the real definition of webhook which is a request with POST action to a specified url ( when this happen, the url going to return the result, in this context, is when we do 'docker push' to submit a image to registry, it fires the automatically build * Updated after suggest I updated the right sentence, I feel it more clear now. thank you :) * Remove duplicate wording --- docker-hub/webhooks.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-hub/webhooks.md b/docker-hub/webhooks.md index 9dcb4cbcb7..40848cf745 100644 --- a/docker-hub/webhooks.md +++ b/docker-hub/webhooks.md @@ -6,15 +6,15 @@ title: Webhooks for automated builds If you have an automated build repository in Docker Hub, you can use Webhooks to cause an action in another application in response to an event in the -repository. Docker Hub webhooks fire when an image is built in, or a new tag +repository. Webhook is a POST request sent to a defined URL which provides the service. Docker Hub webhooks fire when an image is built in, or a new tag is added to, your automated build repository. Configure webhooks on `https://hub.docker.com/r///~/settings/webhooks/`. ![Create Webhook](/docker-hub/images/webhooks.png) -With your webhook, you specify a target URL to POST to. Docker Hub POSTs -the URL with the following payload: +With your webhook, you specify a target URL to POST to. Docker Hub POSTs the URL +with the following payload: ```json {