summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
authorTim Redfern <tim@herge.(none)>2013-03-08 18:04:09 +0000
committerTim Redfern <tim@herge.(none)>2013-03-08 18:04:09 +0000
commit55a63ac09264a38fafdf4a218e86b598030fb47c (patch)
tree8e0769f83d3dc55177ef091b7551e61477c5c74e /http
parentc09a3c040b43731196f59bac8046823f1f692e3e (diff)
REST api working
Diffstat (limited to 'http')
-rwxr-xr-xhttp2
1 files changed, 1 insertions, 1 deletions
diff --git a/http b/http
index 0c0314f..cbf89b2 100755
--- a/http
+++ b/http
@@ -6,7 +6,7 @@ parser.add_argument("method",default="GET",nargs='?')
parser.add_argument("path",default="/",nargs='?')
parser.add_argument("body",default="body",nargs='?')
args=parser.parse_args()
-connection = httplib.HTTPConnection('127.0.0.1:9000')
+connection = httplib.HTTPConnection('54.228.219.55:9000')
connection.request(args.method, args.path, args.body)
print connection.getresponse().read()