Skip to content

Commit

Permalink
Change GET in example request to POST
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
aaronlehmann committed Jul 18, 2022
1 parent 8857a19 commit c3074d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/notifications.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <your token, if needed>
Content-Type: application/vnd.docker.distribution.events.v1+json
Expand Down

0 comments on commit c3074d0

Please sign in to comment.