Clean way to request HTTP API resources