> POST /courses code=CS101&title=Software Design&capacity=1
201 {"result":"created"}
> POST /courses code=cs101&title=&capacity=two&room=B12
400 {"error":"invalid_request","problems":[{"field":"room","problem":"unknown_field"},{"field":"code","problem":"bad_format"},{"field":"title","problem":"empty"},{"field":"capacity","problem":"not_a_whole_number"}]}
> POST /courses code=MA101&title=Linear Algebra&capacity=0
400 {"error":"invalid_request","problems":[{"field":"capacity","problem":"below_1"}]}
> POST /courses code=CS101&title=Software Design Again&capacity=30
409 {"error":"refused","detail":"course_exists"}
> POST /enroll student=S1&course=CS101
200 {"result":"seated"}
> POST /enroll student=S2&course=CS101
200 {"result":"waitlisted"}
> POST /enroll student=S2&course=CS101
409 {"error":"refused","detail":"already_in_course"}
> POST /enroll student=S2&student=S1
400 {"error":"invalid_request","problems":[{"field":"student","problem":"repeated"},{"field":"course","problem":"missing"}]}
> POST /enroll student=S7&course=CS101
404 {"error":"not_found","detail":"student"}
> POST /enroll student=S1&course=PH101
404 {"error":"not_found","detail":"course"}
> DELETE /courses/CS101
404 {"error":"not_found","detail":"route"}
