Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (7 sloc) 294 Bytes
import rest
## test creating and deleting a service
print rest.delete('localhost','/myservice', 8080)
print rest.get('localhost','/myservice', 8080)
print rest.put('localhost', '/myservice', 8080)
print rest.get('localhost','/myservice', 8080)
print rest.delete('localhost','/myservice', 8080)
Something went wrong with that request. Please try again.