Skip to content

Instantly share code, notes, and snippets.

@ohlol
Created August 1, 2011 19:17
Show Gist options
  • Save ohlol/1118804 to your computer and use it in GitHub Desktop.
Save ohlol/1118804 to your computer and use it in GitHub Desktop.
(scott@beatbox:helix)% curl -d 'name=time_server' -d 'value=time.mit.edu' http://localhost:7777/role/baserole/parameters
{
"status": "OK",
"data": {
"baserole": {
"classes": [],
"parameters": {
"time_server": "time.mit.edu"
}
}
}
(scott@beatbox:helix)% curl -s http://localhost:7777/role/baserole | jgrep --start data -s baserole.parameters.time_server
time.mit.edu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment