graphQL-client-unity icon indicating copy to clipboard operation
graphQL-client-unity copied to clipboard

How to use SetAuthToken?

Open nescroft opened this issue 3 years ago • 0 comments

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"

nescroft avatar Dec 21 '21 16:12 nescroft