We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How I can put "User-Agent" header data into Appsearch. I try to edit code in file "client.js" as follows.
_jsonRequest(method, path, params) { return this._wrap({ method: method, url: `${this.baseUrl}${path}`, json: params, auth: { bearer: this.apiKey }, headers: { 'X-Swiftype-Client': this.clientName, 'X-Swiftype-Client-Version': this.clientVersion, 'Content-Type': 'application/json', 'User-Agent': `${this.clientName} - ${this.clientVersion}`, // Edit this line } }) }
It works but has another solution?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How I can put "User-Agent" header data into Appsearch.
I try to edit code in file "client.js" as follows.
It works but has another solution?
The text was updated successfully, but these errors were encountered: