msjit/testcasedb — pull request #61 by agramian (2014-11-18 00:39:59+00:00)
Title: webapi format symbol and post data validation, specs, refactor

- webapi makes sure the request contains a valid format symbol (.json
or .xml) and returns appropriate error message if not
- webapi catches exception if invalid post data is given and cannot be
parsed, returns error message
- added specs to invalid_api_spec to verify the new functionality
- for all xml responses, renamed root element from ‘hash’ to ‘response’
- refactored ‘request_params’ to ‘request_data’