diff --git a/quickstart/README.md b/quickstart/README.md index a42490a16b..adf6751d75 100644 --- a/quickstart/README.md +++ b/quickstart/README.md @@ -39,12 +39,16 @@ curl -X POST http://localhost:48888/api/v1/events \ "data": { "method": "GET", "route": "/hello", - "duration_ms": 10 + "duration_ms": "10" } } ' ``` +Note that numeric values where precision matters are sent as JSON strings +(`"duration_ms": "10"`) so they are parsed without floating-point precision +loss. + Note how ID is different: ```sh @@ -61,7 +65,7 @@ curl -X POST http://localhost:48888/api/v1/events \ "data": { "method": "GET", "route": "/hello", - "duration_ms": 20 + "duration_ms": "20" } } ' @@ -83,7 +87,7 @@ curl -X POST http://localhost:48888/api/v1/events \ "data": { "method": "GET", "route": "/hello", - "duration_ms": 30 + "duration_ms": "30" } } '