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
Hello,
Is it possible to add (or maybe there is) a way to set the Authorization request header to the httpClient inside RESTFulApiFactoryClient
Authorization
httpClient
RESTFulApiFactoryClient
Mybe something like that:
public void SetAuthenticationHeaderValue(AuthenticationHeaderValue authenticationHeaderValue) => this.httpClient.DefaultRequestHeaders.Authorization = authenticationHeaderValue;
Thanks!
The text was updated successfully, but these errors were encountered:
Why not just set it in the httpClient you pass in during the instantiation of RESTfulSenseFactory
Sorry, something went wrong.
Thank you @hassanhabib
Now I have it working in my code 🌷
No branches or pull requests
Hello,
Is it possible to add (or maybe there is) a way to set the
Authorization
request header to thehttpClient
insideRESTFulApiFactoryClient
Mybe something like that:
Thanks!
The text was updated successfully, but these errors were encountered: