Passing params to REST API command

As am FYI I started a separate thread to advocate native support for a Restful API rather than trying to figure all this out within the current automation engine.