Hi community,
I want to get the list of available worker-queues in my pyhton API. Based on the SDK documentation I cannot find a implemented way expect using the REST-API.
I struggle to get the REST-API up an running. I've got my API_SECRET and ACCESS_KEY and those are working fine with the SDK but I cannot get the queues from the REST-API.
When I call the code below I get a HTTP 401 (not authorized)
url = f"{base_url}/"
headers = {"Authorization": f"Bearer {access_key}:{secret_key}"}
st.text(headers)
response = requests.post('
', headers=headers)
if response.status_code == 200:
st.text("Request was successful")
st.text("Response content:")
st.text(response.text)
else:
st.text(f"Request failed with status code {response.status_code}")
Any help is appreciated.
Thanks in advance!