Hacker News new | ask | show | jobs
by beltorak 3869 days ago
The REST purist in me would advise against GET requests for executing actions. Not sure how I'd design the actionable namespace though; not a lot of experience there I'm afraid. But perhaps a POST of "cmd=stop" to "hxxp://$host:$port/docker/container/$containerId".