Skip to content
New issue

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 to use SetAuthToken? #36

Open
nescroft opened this issue Dec 21, 2021 · 0 comments
Open

How to use SetAuthToken? #36

nescroft opened this issue Dec 21, 2021 · 0 comments

Comments

@nescroft
Copy link

nescroft commented Dec 21, 2021

I'm using bitquery to get some blockchain data and they said all I need is the X-API-KEY in the headers but I'm having trouble with the syntax. What am I doing wrong?

bqRef.SetAuthToken(@"""X-API-KEY"":""asdf1234""");

I'm getting this error "401 Authorization Required"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant