08.08.2022, 07:16
(08.08.2022, 07:06)admin Wrote: 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',
},
Now intsted of "HTTP/1.1 415 Unsupported Media Type"
I get "HTTP/1.1 400 Bad Request"