s/this.options.endpoint/this.options.endpoints/g