Created
February 15, 2015 01:24
-
-
Save nikhan/78e54c9cef19b82dc85d to your computer and use it in GitHub Desktop.
pusher testing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl localhost:7071/sources -d '{"type":"value"}' | |
curl -X PUT localhost:7071/sources/1/value -d '"Hello world"' | |
curl localhost:7071/blocks -d '{"type":"pusher"}' | |
curl localhost:7071/blocks -d '{"type":"log"}' | |
curl localhost:7071/blocks -d '{"type":"valueGet"}' | |
curl localhost:7071/links -d '{"source":1}' | |
curl localhost:7071/links -d '{"source":1,"block":4}' | |
curl localhost:7071/connections -d '{"source":{"id":2,"route":0},"target":{"id":4,"route":0}}' | |
curl localhost:7071/connections -d '{"source":{"id":4,"route":0},"target":{"id":3,"route":0}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment