Unsolved

1 Rookie

 • 

2 Posts

578

March 1st, 2021 08:00

Trouble connecting to API from Python (Basic Auth)

In my python
 
response = requests . get ( ' https://server/api/v1/clients ' , verify = False , auth =( creds . AVAMARUSER , creds . AVAMARPASS ))
 
Response:
 

{"error":"unauthorized","error_description":"Full authentication is required to access this resource"}

I can use the same creds in the swagger no issue....I have to set it to 'request body' but it doess aauthenticate and let me play with the endppoints.

No Responses!
No Events found!

Top