Skip to content

Where to pass bearer token? #4

@ion-elgreco

Description

@ion-elgreco

Wanted to see if I could replace my internally built UC API wrapper but using this package I cannot figure out how to pass a bearer token?

Tried passing the below to extra_headers, but no luck unfortunately.

headers = {
  "Authorization": f"Bearer {my_token}",
  "Content-Type": "application/json",
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions