Authorization Header #407
-
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.
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.
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.