Skip to content

Instantly share code, notes, and snippets.

@mattmcla
Created July 23, 2014 20:52
Show Gist options
  • Select an option

  • Save mattmcla/083ee92d2940c267a03f to your computer and use it in GitHub Desktop.

Select an option

Save mattmcla/083ee92d2940c267a03f to your computer and use it in GitHub Desktop.
export OI_TOKEN=<your orchestrate token here>
curl https://api.orchestrate.io/v0/actors/1 \
-X PUT \
-i \
-H 'Content-Type:application/json' \
-u "$OI_TOKEN:" \
-d '{"name": "Kevin Bacon"}'
curl https://api.orchestrate.io/v0/actors/2 \
-X PUT \
-i \
-H 'Content-Type:application/json' \
-u "$OI_TOKEN:" \
-d '{"name": "Fred Ward"}'
curl https://api.orchestrate.io/v0/actors/3 \
-X PUT \
-i \
-H 'Content-Type:application/json' \
-u "$OI_TOKEN:" \
-d '{"name": "Finn Carter"}'
curl https://api.orchestrate.io/v0/actors/4 \
-X PUT \
-i \
-H 'Content-Type:application/json' \
-u "$OI_TOKEN:" \
-d '{"name": "Tom Cruise"}'
curl https://api.orchestrate.io/v0/actors/5 \
-X PUT \
-i \
-H 'Content-Type:application/json' \
-u "$OI_TOKEN:" \
-d '{"name": "Jack Nicholson"}'
curl https://api.orchestrate.io/v0/actors/6 \
-X PUT \
-i \
-H 'Content-Type:application/json' \
-u "$OI_TOKEN:" \
-d '{"name": "Tom Hanks"}'
curl https://api.orchestrate.io/v0/actors/7 \
-X PUT \
-i \
-H 'Content-Type:application/json' \
-u "$OI_TOKEN:" \
-d '{"name": "Bill Paxton"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment