Added get, post and put endpoints for cases.