Skip to content

Commit

Permalink
Merge pull request #33 from djmaze/correct-sidecar-curl-command
Browse files Browse the repository at this point in the history
Add missing json header to sidecar curl command
  • Loading branch information
djmaze authored Apr 11, 2020
2 parents 8e57fe2 + c73348a commit 331475f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shepherd
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ update_services() {
if [[ "$apprise_sidecar_url" != "" ]]; then
title="[Shepherd] Service $name updated"
body="Service $name was updated from $previousImage to $currentImage"
curl -X POST --data "{\"title\": \"$title\", \"body\": \"$body\"}" "$apprise_sidecar_url"
curl -X POST -H "Content-Type: application/json" --data "{\"title\": \"$title\", \"body\": \"$body\"}" "$apprise_sidecar_url"
fi
fi
fi
Expand Down

0 comments on commit 331475f

Please sign in to comment.