Implemented RESTRequest class