Make the http request available to newConsumer to enable CORS