2024-06-06 19:03:37 +00:00
|
|
|
payload = loadBody("json")
|
2024-05-01 17:27:32 +00:00
|
|
|
challengeB64 = base64.b64encode(challenge).decode()
|
|
|
|
payload['params']['object'] = challengeB64
|
|
|
|
licence = await (await pyfetch(licUrl,
|
|
|
|
method="POST",
|
|
|
|
headers=licHeaders,
|
|
|
|
body=json.dumps(payload)
|
|
|
|
)).json()
|
2024-06-06 03:51:23 +00:00
|
|
|
licence = licence['result']['object']['license']
|