Skip to content

Commit

Permalink
Merge pull request #78 from erik-stephens/master
Browse files Browse the repository at this point in the history
Specify Content-Type in example
  • Loading branch information
zorkian committed Sep 22, 2016
2 parents 88dc8cf + 0841534 commit 944d67e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -44,7 +44,7 @@ curl http://localhost:8080/state
That calls the `state` method and returns the JSON result.

```
curl -d '{"host": "web01", "duration": 600}' http://localhost:8080/schedule_downtime
curl -d '{"host": "web01", "duration": 600}' -H 'Content-Type: application/json' http://localhost:8080/schedule_downtime
```

This POSTs the given JSON object to the `schedule_downtime` method. You
Expand Down

0 comments on commit 944d67e

Please sign in to comment.