Skip to content

Instantly share code, notes, and snippets.

@tumani1
Last active January 18, 2017 16:50
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 tumani1/a7a04323196d4c719fee61f1a1e7140a to your computer and use it in GitHub Desktop.
Save tumani1/a7a04323196d4c719fee61f1a1e7140a to your computer and use it in GitHub Desktop.
PUT 192.168.99.100:8500/v1/agent/service/register
{
"name": "mysql_slave",
"tags": ["master"],
"address": "78.140.191.241",
"port": 3306,
"enableTagOverride": false
}
http://127.0.0.1:8080/api/place_lot
{
"uuid":"6dd03900-faf4-44f2-a3f5-a004964d0942",
"ip":"98.202.13.185",
"zone_id": 729527,
"channel": "test",
"referrer":"linkmyc.com",
"affiliateDomain":"topnotebookreview.blogspot.com",
"debug": true,
"client_new": {
"country": "us",
"os": "windows",
"city": 372,
"os_version": "win8",
"isp": "comcast cable communications inc.",
"device_type": "desktop",
"language": "en",
"mobile_isp": "?",
"metro_code": 770,
"user_id": "64d18c5a8822e704175926373e8e28f3",
"vendor": "",
"browser": "chrome",
"os_type": "desktop",
"connection": "cable",
"iframe": 2,
"region": 45,
"device": "desktop",
"is_proxy": false,
"user_agent": "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment