Fixed that non-GET API requests respond with 422 (#15427).
Authored by: jplang 2013-11-22
Parent: [r12310]
Child: [r12312]