-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joe Stubbs
committed
Jul 15, 2015
1 parent
42bae6f
commit d7f0c2a
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
# Some simple examples exercising the APIs with curl | ||
curl localhost:5000/actors | ||
curl -X POST --data "name=foo&image=busybox" localhost:5000/actors | ||
curl -X POST --data "name=bar&image=bar_image&description=The bar actor" localhost:5000/actors | ||
curl -X POST --data "name=foo&image=busybox&description=A second foo actor" localhost:5000/actors | ||
curl localhost:5000/actors/foo_0 | ||
curl localhost:5001/actors/foo_0/messages | ||
curl localhost:5000/actors/foo_0/state | ||
curl -X POST --data "state=some state" localhost:5000/actors/foo_0/state | ||
curl localhost:5000/actors/foo_0/state | ||
curl localhost:5000/actors/foo_0/executions | ||
curl -X POST --data "cpu=31&io=114&runtime=8256" localhost:5000/actors/foo_0/executions | ||
curl -X POST --data "cpu=9&io=5&runtime=1000" localhost:5000/actors/foo_0/executions | ||
curl localhost:5000/actors/foo_0/executions |