aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorVikraman Choudhury <vikraman.choudhury@gmail.com>2011-06-14 23:12:05 +0530
committerVikraman Choudhury <vikraman.choudhury@gmail.com>2011-06-14 23:12:05 +0530
commitdc3c5ba810a7fc3c3551ec5201a8d73188c14ac5 (patch)
tree412c22da01b0921d78dda237bfd44810f7586ce9 /client
parentcapitalize sql objects (diff)
downloadgentoostats-dc3c5ba810a7fc3c3551ec5201a8d73188c14ac5.tar.gz
gentoostats-dc3c5ba810a7fc3c3551ec5201a8d73188c14ac5.tar.bz2
gentoostats-dc3c5ba810a7fc3c3551ec5201a8d73188c14ac5.zip
fix client url
Diffstat (limited to 'client')
-rwxr-xr-xclient/send.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/send.py b/client/send.py
index 8bf2bd2..1420a7d 100755
--- a/client/send.py
+++ b/client/send.py
@@ -30,7 +30,7 @@ def main():
post_headers = {"Content-type": "application/json"}
myuuid = getAuthInfo()['UUID']
conn = httplib.HTTPConnection("127.0.0.1:8080")
- conn.request('POST', '/' + myuuid, headers=post_headers, body=post_body)
+ conn.request('POST', '/host/' + myuuid, headers=post_headers, body=post_body)
#TODO: Handle exceptions
response = conn.getresponse()
print response.status, response.reason