Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. curl localhost:7071/blocks -d '{"type":"delay"}' #1
  2. curl localhost:7071/blocks -d '{"type":"log"}' #2
  3. curl localhost:7071/blocks -d '{"type":"kvGet"}' #3
  4. curl localhost:7071/sources -d '{"type":"key-value"}' #4
  5. curl localhost:7071/blocks -d '{"type":"isError"}' #5
  6. curl localhost:7071/blocks -d '{"type":"latch"}' #6
  7. curl localhost:7071/blocks -d '{"type":"kvSet"}' #7
  8. curl localhost:7071/blocks -d '{"type":"gate"}' #8
  9. curl localhost:7071/blocks -d '{"type":"+"}' #9
  10. curl localhost:7071/blocks -d '{"type":"sink"}' #10
  11.  
  12. curl -X PUT localhost:7071/blocks/1/routes/1 -d '{"type":"const","value":"200ms"}'
  13. curl -X PUT localhost:7071/blocks/1/routes/0 -d '{"type":"const","value":"counter"}'
  14. curl -X PUT localhost:7071/blocks/7/routes/0 -d '{"type":"const","value":"counter"}'
  15. curl -X PUT localhost:7071/blocks/8/routes/0 -d '{"type":"const","value":1.0}'
  16. curl -X PUT localhost:7071/blocks/9/routes/1 -d '{"type":"const","value":1.0}'
  17.  
  18. curl localhost:7071/connections -d '{"source":{"id":3,"route":0},"target":{"id":2,"route":0}}'
  19. curl localhost:7071/connections -d '{"source":{"id":7,"route":0},"target":{"id":10,"route":0}}'
  20. curl localhost:7071/connections -d '{"source":{"id":1,"route":0},"target":{"id":3,"route":0}}'
  21. curl localhost:7071/connections -d '{"source":{"id":3,"route":0},"target":{"id":5,"route":0}}'
  22. curl localhost:7071/connections -d '{"source":{"id":5,"route":0},"target":{"id":6,"route":1}}'
  23. curl localhost:7071/connections -d '{"source":{"id":6,"route":0},"target":{"id":8,"route":1}}'
  24. curl localhost:7071/connections -d '{"source":{"id":3,"route":0},"target":{"id":6,"route":0}}'
  25. curl localhost:7071/connections -d '{"source":{"id":8,"route":0},"target":{"id":7,"route":1}}'
  26. curl localhost:7071/connections -d '{"source":{"id":6,"route":1},"target":{"id":9,"route":0}}'
  27. curl localhost:7071/connections -d '{"source":{"id":9,"route":0},"target":{"id":7,"route":1}}'
  28.  
  29. curl localhost:7071/links -d '{"source":4,"block":3}'
  30. curl localhost:7071/links -d '{"source":4,"block":7}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement