Skip to content

Commit 662ae94

Browse files
author
Margus Mahler
committed
added created_with into example request
1 parent 607cae3 commit 662ae94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chapters/time_entries.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Example request
2626
```shell
2727
curl -v -u 1971800d4d82861d8f2c1651fea4d212:api_token \
2828
-H "Content-Type: application/json" \
29-
-d '{"time_entry":{"description":"Meeting with possible clients","tags":["billed"],"duration":1200,"start":"2013-03-05T07:58:58.000Z","pid":123}}' \
29+
-d '{"time_entry":{"description":"Meeting with possible clients","tags":["billed"],"duration":1200,"start":"2013-03-05T07:58:58.000Z","pid":123,"created_with":"curl"}}' \
3030
-X POST https://www.toggl.com/api/v8/time_entries
3131

3232
```
@@ -57,7 +57,7 @@ Example request
5757
```shell
5858
curl -v -u 1971800d4d82861d8f2c1651fea4d212:api_token \
5959
-H "Content-Type: application/json" \
60-
-d '{"time_entry":{"description":"Meeting with possible clients","tags":["billed"],"pid":123}}' \
60+
-d '{"time_entry":{"description":"Meeting with possible clients","tags":["billed"],"pid":123,"created_with":"curl"}}' \
6161
-X POST https://www.toggl.com/api/v8/time_entries/start
6262

6363
```

0 commit comments

Comments
 (0)