Skip to content

Commit ba5c10e

Browse files
committed
Fix formatting of code blocks
1 parent 2eca354 commit ba5c10e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,28 @@ can get to the page that allows you to `Extend Access Token`
3535
Example: If I want to look back to last month, daysBack = 60 and daysForward
3636
= 30. If I want to look at this week, daysBack = 7 and daysForward = 7.
3737

38-
`curl -X POST \
38+
```sh
39+
curl -X POST \
3940
-H "X-Parse-Application-Id: _PARSEAPPID_" \
4041
-H "X-Parse-REST-API-Key: _PARSEAPIKEY_" \
4142
-H "Content-Type: application/json" \
4243
-d '{"daysBack": _daysBack_, "daysForward": _daysForwardFromThere_}' \
43-
https://api.parse.com/1/functions/countItems`
44+
https://api.parse.com/1/functions/countItems
45+
```
4446

4547
#### Exact Range - (Start Date, End Date)
4648

4749
Specify the specific range to get a count. startDate and endDate are both
4850
[Javascript Date Objects](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date).
4951

50-
`curl -X POST \
52+
```sh
53+
curl -X POST \
5154
-H "X-Parse-Application-Id: _PARSEAPPID_" \
5255
-H "X-Parse-REST-API-Key: _PARSEAPIKEY_" \
5356
-H "Content-Type: application/json" \
5457
-d '{"beginDate": _startDate_, "endDate": _endDate_}' \
55-
https://api.parse.com/1/functions/countItemsWithDateRanges`
58+
https://api.parse.com/1/functions/countItemsWithDateRanges
59+
```
5660

5761
You can find your _PARSEAPPID_ and _PARSEAPIKEY_ in your Parse dashboard for
5862
your App.

0 commit comments

Comments
 (0)