Add a JSON API function for logging in
Review Request #3 — Created May 20, 2007 and submitted — Latest diff uploaded
Added a JSON API function for logging in to Review Board. This allows the caller to get a nice JSON response code instead of calling the existing /accounts/login/ page, which would end up returning a redirect on success and an HTML page with an embedded error on failure.
Attempted a login using the new function. It appeared to work fine, as I was then able to post a review request.
Diff Revision 1
This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.
orig
1
2
/trunk/reviewboard/contrib/perforce/post-review |
---|
/trunk/reviewboard/reviews/json.py |
---|
/trunk/reviewboard/reviews/urls/json.py |
---|