create the restfulClient to call the restful and use the content negotiation to control the restful rerurn types