the online example I found used $.ajax.  I tried using $.getJSON to pass a similar parameter dictionary, and it didn't work for me.  Since this worked, and I'm a busy guy, I just did it this way.