diff --git a/README.md b/README.md index c9b0f75..4a3309b 100644 --- a/README.md +++ b/README.md @@ -77,10 +77,10 @@ See [types](#types) for informations about alert configurations. ## Events -An event represent something to monitor at a defined date. For example if I'm monitoring the temperature in my home, I'll post an event `home.temperature` with a property `temp`: +An event represent something to monitor at a defined date. For example if I'm monitoring the temperature in my home, I'll post an event `home.temperature` with a property `temperature`: ``` -$ curl -X POST --data '{ "type":"home.temperature", "properties": { "temperature": 66 } }' http://localhost:5000/api/events +$ curl -X POST -H "Content-Type:application/json" --data '{ "type":"home.temperature", "properties": { "temperature": 66 } }' http://localhost:5000/api/events ``` ## Visualizations