Skip to content

Authorization Header #407

Answered by Jericho
davidjnevin asked this question in Q&A
Jan 14, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@davidjnevin
Comment options

Answer selected by davidjnevin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants