Skip to content

Commit

Permalink
adding missing content type
Browse files Browse the repository at this point in the history
  • Loading branch information
l0k0ms committed Jul 13, 2018
1 parent d370f5f commit 102f587
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion content/api/monitors/code_snippets/api-monitor-mute-all.sh
Expand Up @@ -2,5 +2,5 @@
api_key=<YOUR_API_KEY>
app_key=<YOUR_APP_KEY>

curl -X POST "https://api.datadoghq.com/api/v1/monitor/mute_all?api_key=${api_key}&application_key=${app_key}"
curl -X POST -H "Content-type: application/json" "https://api.datadoghq.com/api/v1/monitor/mute_all?api_key=${api_key}&application_key=${app_key}"

2 changes: 1 addition & 1 deletion content/api/monitors/code_snippets/api-monitor-mute.sh
Expand Up @@ -12,4 +12,4 @@ monitor_id=$(curl -X POST -H "Content-type: application/json" \
}' \
"https://api.datadoghq.com/api/v1/monitor?api_key=${api_key}&application_key=${app_key}" | jq '.id')

curl -X POST "https://api.datadoghq.com/api/v1/monitor/${monitor_id}/mute?api_key=${api_key}&application_key=${app_key}"
curl -X POST -H "Content-type: application/json" "https://api.datadoghq.com/api/v1/monitor/${monitor_id}/mute?api_key=${api_key}&application_key=${app_key}"
@@ -1,5 +1,5 @@
api_key=<YOUR_API_KEY>
app_key=<YOUR_APP_KEY>

curl -X POST "https://api.datadoghq.com/api/v1/monitor/unmute_all?api_key=${api_key}&application_key=${app_key}"
curl -X POST -H "Content-type: application/json" "https://api.datadoghq.com/api/v1/monitor/unmute_all?api_key=${api_key}&application_key=${app_key}"

2 changes: 1 addition & 1 deletion ja/code_snippets/api-monitor-mute-all.sh
@@ -1,4 +1,4 @@
api_key=<YOUR_API_KEY>
app_key=<YOUR_APP_KEY>

curl -X POST "https://api.datadoghq.com/api/v1/monitor/mute_all?api_key=${api_key}&application_key=${app_key}"
curl -X POST -H "Content-type: application/json" "https://api.datadoghq.com/api/v1/monitor/mute_all?api_key=${api_key}&application_key=${app_key}"
2 changes: 1 addition & 1 deletion ja/code_snippets/api-monitor-unmute-all.sh
@@ -1,4 +1,4 @@
api_key=<YOUR_API_KEY>
app_key=<YOUR_APP_KEY>

curl -X POST "https://api.datadoghq.com/api/v1/monitor/unmute_all?api_key=${api_key}&application_key=${app_key}"
curl -X POST -H "Content-type: application/json" "https://api.datadoghq.com/api/v1/monitor/unmute_all?api_key=${api_key}&application_key=${app_key}"

0 comments on commit 102f587

Please sign in to comment.