Open
Description
It is possible to connect a client with username/password in the REST API with :
from coreapi import Client, auth
url='http://127.0.0.1:8000/api/schema'
username='toto'
password='secret123'
client = Client(
auth=auth.BasicAuthentication(
username=username,
password=password))
document = client.get(url)
But this method is not in the documentation.
Metadata
Metadata
Assignees
Labels
No labels