Update RESTRequest.java for get method

Added getResourceRepresentation method.