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 <alehmann@netflix.com>
This commit is contained in:
Aaron Lehmann 2022-07-18 08:38:38 -07:00
parent 8857a19487
commit c3074d095e

View file

@ -158,7 +158,7 @@ request coming to an endpoint.
An example of a full event may look as follows: An example of a full event may look as follows:
```http request ```http request
GET /callback HTTP/1.1 POST /callback HTTP/1.1
Host: application/vnd.docker.distribution.events.v1+json Host: application/vnd.docker.distribution.events.v1+json
Authorization: Bearer <your token, if needed> Authorization: Bearer <your token, if needed>
Content-Type: application/vnd.docker.distribution.events.v1+json Content-Type: application/vnd.docker.distribution.events.v1+json