Skip to content

Commit

Permalink
Merge pull request beeminder#42 from Alys/master
Browse files Browse the repository at this point in the history
add missing end backslash to multi-line curl commands
  • Loading branch information
dreeves committed Aug 3, 2022
2 parents 3996c4d + cde132c commit b75be07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ The list of [Datapoint](#datapoint) objects.
> Examples
```shell
curl -X POST https://www.beeminder.com/api/v1/users/alice/goals/weight/datapoints.json
curl -X POST https://www.beeminder.com/api/v1/users/alice/goals/weight/datapoints.json \
-d auth_token=abc123 \
-d timestamp=1325523600 \
-d value=130.1 \
Expand Down Expand Up @@ -1039,7 +1039,7 @@ The updated [Datapoint](#datapoint) object.
> Examples
```shell
curl -X POST https://www.beeminder.com/api/v1/users/alice/goals/weight/datapoints/create_all.json
curl -X POST https://www.beeminder.com/api/v1/users/alice/goals/weight/datapoints/create_all.json \
-d auth_token=abc123 \
-d datapoints=[{"timestamp":1343577600,"value":220.6,"comment":"blah+blah", "requestid":"abcd182475929"}, {"timestamp":1343491200,"value":220.7, "requestid":"abcd182475930"}]
```
Expand Down

0 comments on commit b75be07

Please sign in to comment.