mirror of
https://github.com/OpenBankProject/API-Manager.git
synced 2026-02-06 13:16:52 +00:00
bugfix/fixed the put method no request body bug
This commit is contained in:
parent
ca82185f5e
commit
cbe729c88a
@ -55,7 +55,7 @@ class API(object):
|
||||
if payload:
|
||||
response = session.request(method, url, json=payload, verify=settings.VERIFY)
|
||||
else:
|
||||
response = session.request(method, url, verify=settings.VERIFY)
|
||||
response = session.request(method, url, json={}, verify=settings.VERIFY)
|
||||
except ConnectionError as err:
|
||||
raise APIError(err)
|
||||
time_end = time.time()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user