reddit/reddit — pull request #317 by buddydvd (2012-01-12 21:27:47+00:00)
Title: Modify /api/new_captcha to return "iden" when api_type=json.

Currently, calling `/api/new_captcha` with `api_type=json` does not yield any useful information. Because of this, the only way to grab the captcha iden is to make the call with `api_type=html`. This pull request modifies `/api/new_captcha` to return `iden` when `api_type=json`.