Adjusted storage client so that you can either pass the request a Resource
or a Url