Case analysis of application/json and application/x-www-form-urlencoded
Return 500 if failed to parse