Skip to content

How to use SetAuthToken? #36

@nescroft

Description

@nescroft

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions