JJH:  got an ajax post with mime type application/json working for a
login, returning a token.  At this point, I think I really should be
either using Bootstrap or Angular.js, as that's the whole point of a
RESTful API anyway, right?