Skip to content

Commit

Permalink
As suggested by @muga, @hiroyuki-sato just hardcode a time string for…
Browse files Browse the repository at this point in the history
… this

example.
  • Loading branch information
ehaupt committed May 2, 2019
1 parent ab57dc4 commit 47a6944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/REST_API.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ $ digdag push resttest
$ curl -X PUT "http://localhost:65432/api/attempts" \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-d "{ \"params\": { \"msg\": \"Hello from REST API.\" }, \"sessionTime\": \"$(date -Iseconds | sed -e 's|\([0-9]\{2\}\)\([0-9]\{2\}\)$|\1:\2|')\", \"workflowId\": \"1\"}"
-d "{ \"params\": { \"msg\": \"Hello from REST API.\" }, \"sessionTime\": \"2019-05-01T13:38:52+09:00\", \"workflowId\": \"1\"}"
```

0 comments on commit 47a6944

Please sign in to comment.