Commit 1a7bfa76 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'add-content-type-to-generic-alert-endpoint-docs' into 'master'

Add content-type to Generic Alert docs

See merge request gitlab-org/gitlab!17606
parents 89788064 7f2b1775
......@@ -35,7 +35,11 @@ You can customize the payload by sending the following parameters. All fields ar
Example request:
```sh
curl --request POST --data '{"title": "Incident title"}' --header "Authorization: Bearer <autorization_key>" <url>
curl --request POST \
--data '{"title": "Incident title"}' \
--header "Authorization: Bearer <autorization_key>" \
--header "Content-Type: application/json" \
<url>
```
The `<autorization_key>` and `<url>` values can be found when [setting up generic alerts](#setting-up-generic-alerts).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment