Update README.md

This commit is contained in:
judy0131 2020-05-21 17:22:14 +08:00 committed by GitHub
parent acf42e79a1
commit 9e8e807b20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 2 deletions

View File

@ -120,8 +120,10 @@ Try PiFlow v0.6 with: http://piflow.cstcloud.cn/piflow-web/
### Use with command line ### Use with command line
- command line - command line
- flow config example <details>
<summary>flow config example</summary>
<pre>
<code>
{ {
"flow":{ "flow":{
"name":"test", "name":"test",
@ -247,6 +249,12 @@ Try PiFlow v0.6 with: http://piflow.cstcloud.cn/piflow-web/
] ]
} }
} }
</code>
</pre>
</details>
- flow config example
- curl -0 -X POST http://10.0.86.191:8002/flow/start -H "Content-type: application/json" -d 'this is your flow json' - curl -0 -X POST http://10.0.86.191:8002/flow/start -H "Content-type: application/json" -d 'this is your flow json'
## docker-started ## docker-started