08.08.2022, 07:06
Try adding Accept: application/json or Accept: */* to headers in GetToken function:
Code:
headers = {
['Content-Type'] = 'application/json',
['Content-Length'] = #request_body,
['Abp.TenantId'] = 1,
['Accept'] = 'application/json',
},