REST response is type Response

convert the response type to Response from String