From c3074d095e10500b444cc1724d1406be6cd9938b Mon Sep 17 00:00:00 2001 From: Aaron Lehmann Date: Mon, 18 Jul 2022 08:38:38 -0700 Subject: [PATCH] Change GET in example request to POST The example shows a `GET` request to `/callback`, but it looks like it's intending to show the `POST` request made by the registry to a notificaitons endpoint. Unless I'm missing something, no `GET` request should be involved. Signed-off-by: Aaron Lehmann --- docs/notifications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/notifications.md b/docs/notifications.md index 21119e2ce..443605054 100644 --- a/docs/notifications.md +++ b/docs/notifications.md @@ -158,7 +158,7 @@ request coming to an endpoint. An example of a full event may look as follows: ```http request -GET /callback HTTP/1.1 +POST /callback HTTP/1.1 Host: application/vnd.docker.distribution.events.v1+json Authorization: Bearer Content-Type: application/vnd.docker.distribution.events.v1+json