## ## Meta commands ## ok> help List this help. ok> r Repeat last command. ok> user [] Switch to specified . If is omitted, the currently selected user is shown. A ticket may be specified instead of username. ok> quit | exit Quit this Web Script server. ## ## HTTP Requests ## ok> get Issue a HTTP GET request to the Web Script located at . The response is dumped to the console. URL relative to /alfresco/service e.g. get /blog/search?q=tutorial ok> put Issue a HTTP PUT request to the Web Script located at . The response is dumped to the console. URL relative to /alfresco/service ok> post Issue a HTTP POST request to the Web Script located at . The response is dumped to the console. URL relative to /alfresco/service ok> delete Issue a HTTP DELETE request to the Web Script located at . The response is dumped to the console. URL relative to /alfresco/service ok> tunnel Tunnel a request via POST. The actual is encoded as either the URL parameter named alf:method or the request header named X-HTTP-Method-Override as specified via the parameter: param - encode method as URL parameter header - encode method in Request Header e.g. to tunnel 'get /index' via post (where method is encoded in header) issue tunnel header get /index ## ## Request Header Commands ## ok> header Show all defined headers. ok> var = Define or update a header value. header name header value e.g. header alf-force-success=true ok> header = Delete an existing header value. header name ## ## end ##