Skip to content

Instantly share code, notes, and snippets.

@garystafford
Last active April 13, 2018 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garystafford/936b710bece6f380dc29bff5e6296461 to your computer and use it in GitHub Desktop.
Save garystafford/936b710bece6f380dc29bff5e6296461 to your computer and use it in GitHub Desktop.
# details of an election, id 5, requested from v1 elections in dev
curl http://api.dev.voter-demo.com/v1/elections/5
# list of candidates, last name Obama, requested from v2 of elections in test
curl http://api.test.voter-demo.com/v2/candidates/search/findByLastName?lastName=Obama
# process start time metric, requested from v2 of elections in uat
curl http://api.test.voter-demo.com/v2/actuator/metrics/process.start.time
# vote summary, requested from v1 of elections in production
curl http://api.voter-demo.com/v1/vote-totals/summary/2012%20Presidential%20Election
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment