Skip to content

Needed to convert to string in headers #7

@gRittyKitty

Description

@gRittyKitty

In make_request, the code is:

auth_headers = {
            'Authorization': self.clientKey + ':' + signature.decode('utf8'),
            'X-Auth-Timestamp': timestamp,
            'X-Auth-Nonce': nonce,
            'Content-Type': 'application/json'
}

It threw errors. I was able to get it to run by updating to:

auth_headers = {
            'Authorization': self.clientKey + ':' + signature.decode('utf8'),
            'X-Auth-Timestamp': str(timestamp),
            'X-Auth-Nonce': str(nonce),
            'Content-Type': 'application/json'
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions