Authorization Header #407
Answered
by
Jericho
davidjnevin
asked this question in
Q&A
-
Hi Jericho, I'm completely stumped as to how to add an authorization header to the Stronggrid.client to include "Bearer apikey". Any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Answered by
Jericho
Jan 14, 2022
Replies: 1 comment 1 reply
-
Thank you for the kind words. I'm glad the library is useful to you. Regarding the authorization header: the library takes care of it for you, all you have to do is to specify your API key when you instantiate a new instance of the StrongGrid client. Here's an example: var apiKey = "... your api key...";
var strongGridClient = new StrongGrid.Client(apiKey); Hopefully this answers your question. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
davidjnevin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for the kind words. I'm glad the library is useful to you.
Regarding the authorization header: the library takes care of it for you, all you have to do is to specify your API key when you instantiate a new instance of the StrongGrid client. Here's an example:
Hopefully this answers your question.