Work on Impexium API and related.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
from __future__ import annotations
|
||||
import datetime, json, pprint, pytz, random, requests, secrets, string, time
|
||||
from requests.auth import HTTPBasicAuth
|
||||
|
||||
@@ -61,7 +60,7 @@ def get_access_token():
|
||||
|
||||
log.debug(f'Status Code: {resp.status_code}')
|
||||
log.debug(f'Headers: {resp.headers}')
|
||||
log.debug(f'Encoding: {resp.encoding}')
|
||||
# log.debug(f'Encoding: {resp.encoding}')
|
||||
log.debug(f'JSON: {resp.json()}')
|
||||
# log.debug('Text:', resp.text)
|
||||
|
||||
@@ -171,7 +170,7 @@ def get_contact_custom_field_list(api):
|
||||
|
||||
log.debug('Status Code:', resp.status_code)
|
||||
log.debug('Headers:', resp.headers)
|
||||
log.debug('Encoding:', resp.encoding)
|
||||
# log.debug('Encoding:', resp.encoding)
|
||||
log.debug('JSON:', resp.json())
|
||||
# log.debug('Text:', resp.text)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user