##
##  Meta commands 
## 

ok> help 

    List this help. 

ok> r 

    Repeat last command. 

ok> user [<userName>] 

    Switch to specified <userName>.  If <userName> 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 <path>

    Issue a HTTP GET request to the Web Script located at <path>.  The response
    is dumped to the console.
    
    <path> URL relative to /alfresco/service
    
    e.g. get /blog/search?q=tutorial

ok> put <path>

    Issue a HTTP PUT request to the Web Script located at <path>.  The response
    is dumped to the console.
    
    <path> URL relative to /alfresco/service
    
ok> post <path>

    Issue a HTTP POST request to the Web Script located at <path>.  The response
    is dumped to the console.
    
    <path> URL relative to /alfresco/service

ok> delete <path>

    Issue a HTTP DELETE request to the Web Script located at <path>.  The response
    is dumped to the console.
    
    <path> URL relative to /alfresco/service
    
ok> tunnel <encoding> <method> <path>

    Tunnel a request via POST.
    
    The actual <method> is encoded as either the URL parameter named alf:method or 
    the request header named X-HTTP-Method-Override as specified via the <encoding>
    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 <headerName>=<headerValue> 

    Define or update a header value. 

    <headerName> header name 
    <headerValue> header value 

    e.g. 

    header alf-force-success=true 

ok> header <headerName>= 

    Delete an existing header value. 

    <headerName> header name 
    
## 
##  end 
## 
