fix typo in api comment
updated post endpoint to send error responses for bad records and return json for good records
added tests for post endpoint
add tests for the 3 get endpoints