Updated API with GET and DELETE request handling. DELETE handling needs to be finished