Commit 080e69ee authored by Trond Aasan's avatar Trond Aasan
Browse files

CIM-58 Remove tokens from example

parent 1a6ccb14
......@@ -59,10 +59,12 @@ Python client for accessing the CIM-API.
from cim_client import CimClient, CimEndpoints
from cim_client.models import PersonBase, PersonList
c = CimClient(
CimEndpoints(url='https://example.com',
upsert_persons_url='/_webservices/?ws=contacts/upsert/1.0',
delete_persons_url='/_webservices/?ws=contacts/delete/1.0'),
tokens={'api_key': {'X-Gravitee-API-Key': 'c-d-a-b'},})
CimEndpoints(
url='https://example.com',
upsert_persons_url='/_webservices/?ws=contacts/upsert/1.0',
delete_persons_url='/_webservices/?ws=contacts/delete/1.0',
),
)
upd_schema = c.get_upsert_persons_schema()
del_schema = c.get_delete_persons_schema()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment