Launch the "NetworkTools-HTTPServer.qtz" sample composition, then use the controls below:
View this page's source for example JavaScript code.