hi all
i am trying to poll an api on a multi-threaded timer, looking at the documentation here i see how to authenticate using a username/password. for my use case i must authenticate using a bearer token, please see the below image for my QActionBefore code in which i construct the request
i'm expecting to receive a response with a json body, instead i receive html for a login page - it seems authentication has failed. i tried adding the access token in the request headers but no luck
how can i authenticate properly using a bearer token rather than username/password while using a multi-threaded timer ?
many thanks all