#### Show Javascript

      jQuery.ev.loop($base+'/channel/curl_commands/stream/'+clientId, {
        Greeting: function(ev){
          jQuery('#messages').prepend('<li>'+ev.message+'</li>');
        },
        Color: function(ev){
          jQuery('body').css({ backgroundColor: ev.color });
        },
        '*': function(ev){
          try {
            jQuery('#messages').prepend('<li>'+ev.toSource()+'</li>');
          }
          catch(e) {
          }
        }
      });

## Curl Commands

      curl -d 'm={ "type": "Greeting", "message": "Hello, World" }' http://localhost:5742[= $base =]/channel/curl_commands
      curl -d 'm={ "type": "Color", "color": "#dea" }'              http://localhost:5742[= $base =]/channel/curl_commands
      curl -d 'm={ "whatever": "Undefined", "xxx": 5 }'             http://localhost:5742[= $base =]/channel/curl_commands